Update template `package.json` and `bower.json` to use
latest versions of each module.

Also updated `app.js` to use function declaration rather 
than function expression to allow exports statement to 
be at the top of the module.