Lots of comments, Moving functions around, small bug fixes.

Many comments were added in addition to the code in the casting
functions UseAbility, ExecuteActions, EnsureSpellsCast. Constaints file
was renamed to Constants. A bug was fixed in IsValid function where the
heighttheshold was not validating mobs right.