New solution to app-on-demand problem

Rebuild application.js, controllers.js, index.js in app.finally():
Calculate other apps' bower dependencies and install
Inject bower dependencies into index.html
Inject angular modules into application.js
Inject route information into application.js
Acquire other apps' script paths
rebuild minified script file
Navbar links

Changed GET /routes json data format to match docs
Cache will now produce correct data format
Links can be displayed correctly
Build