HockeyApp - Updated sample and exception handling

Implemented a more reliable way to raise managed exceptions in a way that HockeyApp can see them and include the .NET stack trace of the exception