Modifying AI::getPossibleTargets for terrain cost

Starting modifying the AI::getPossibleTargets method to take the cost of
terrain into account when calculating the unit's attack range.

I'll throw up a gist explaining the new algorithm when I get the chance.