Backward Compatibility with Framework 4.0

Hi Dan,

We are using net-bugsnag in our product and our installations in the field are .NET 4.0. Since it would be onerous to update thousands of machines in the field, I tweaked net-bugsnag to work with .NET 4.0. You may have other users who may run into similar issues so you might find these minor and straight-forward changes useful.