Use Bower to manage r.js (the build tool) + some other fixes.