Added inline sourcemap support

I have continued the work from the `source-maps` branch and added in inline sourcemap support to the middleware.

/cc @swbiggart