Added a __hxcpp_set_critical_error_handler

This catches additional errors that are bypassed in the normal
UncaughtErrorEvent, and then throws an error message which is then
caught and handled normally.
Merge pull request #8 from davidmaletz/master

Added a __hxcpp_set_critical_error_handler