More Tweaks for State Machines. New ResourcePoint

Added UnitResourcePointBehavior script. Tweaked GenericUnitBehavior.
Refactored some of the code into a separate utility method so that it
can be called from multiple states. Added a distance threshold for
things to stop following.