Load JS packages through bower

Inspired by https://github.com/cburmeister/flask-bones
Use bower and r.js for loading JS