Enhance services that cache the promise to force reloading in next request in case of an error.
Start dropping usage of PouchDB.
Install Grunt and Bower in Travis, refs item:675
Add Sass/Compass to Travis
Use longopts in scripts for readability
Test using PhantomJS
Add back PouchDB to bower config as it is required for the unit tests.
Implement base authentication functionality.
Delete cached promises on user change (login/logout).
Fix unknown provider error after JS minification.
Exclude the 'es5-shim' and 'json3' packages form the bower install grunt task.
Only take the most recent records for the timeframe filtered stock count table.
Display records count in timeframe filtered stock out table.
Optimise data processing for the timeframe filtered CCU breakdown table.
In CCU breakdown details table, include CCU units with model id = 0 and show extra information for unknown units.
Merge pull request #11 from tlvince/refactor/travis-before-hook

Fix Travis, refs item:675
Merge pull request #12 from hbj/feature/auth

Implements #558 (user authentication)
Merge pull request #13 from hbj/feature/bug_fixes

Fixes #533 (see comments) and #692