Add config option to enable JS compression in Sprokets

JS compression is disabled to ensure that r.js gets uncompressed assets, however that makes
require.js itself uncompressed and also results in big file sizes for projects that
have some files that are still using the normal asset pipeline.