Refactors api route into own file
Adds bower.json for frontend js dependencies
Ignore bower packages
Sets up require.js