Better error handling for site extension api

Display exception type and message details for uncaught exceptions in runtime.

To test, build and deploy. Then set App Setting SCM_SITEEXTENSIONS_FEED_URL="https://www.myget.org/F/siteextensions-test/". Test installing "Extension Script Test".

Fixes #1201