Add GoalInRange() for checking if the current goal is within a specified bbox

This is better than checking the straight line distance because it takes into account the bbox of entities