Simplify the start logic in the .NET client.
- Added more tests for cancellation cases.
- Made catch run synchronously if possible
- Added new ContinueWithNotComplete extension method in TaskAsyncHelper
Trace when TransportHeartBeat is disposing.
- Tweaked MemoryTestHost to only shutdown before turning trace off.
Write web.config before setting up IIS to avoid app domain restarts.