AActor::AddComponent

Creates a new component and assigns ownership to the Actor this is called for.