removes trailing newline from bower.json
makes paths in rjs-optimise.js relative and adds options - skipDirOptimize and keepBuildDir