Adding HttpResponseException to WebApi Shim.

Fixes #1284
should the overload of object result taking just a value automatically set the declared type to the runttime type? The extra assignment required by default seems fragile