Add formation CheckTarget-/MoveToTargetRange-functions.
Use CheckFormationTargetAttackRange instead CheckTargetAttackRange for formations to not use that ugly workaround with passing target, target.
Use MoveFormationToTargetAttackRange to achieve better looking behaviour when moving formation to target range.
Differential Revision: https://code.wildfiregames.com/D2015
Patch by: Freagarach
Reviewed by: Angen