Feature/sourcemaps

First commit is an update from https://github.com/jwhitley/requirejs-rails, second commit are my changes.

I fixed some super minor conflicts too from the update