Serve more informative result on errors in loading scripts.

The usual way would be to return an internal server error. Though, this
is handled really poor by the browser leaving no clue what really had happened.
This solution serves the stacktrace instead of the javascript source file.
Merge branch 'master' of github.com:substance/substance