[TIMOB-13040] Fixed scoping in hooks system. Added better error handling for bad hooks.
[TIMOB-13040] Updated changelog.
Merge pull request #33 from appcelerator/timob-13040

 [TIMOB-13040] Fixed scoping in hooks system. Added better error handling for bad hooks.