Add angular-pouchdb
Use nightly PouchDB
Use tlvince/pouchdb until Chrome fix lands

PouchDB (as of 13839c6) including Chrome fix, see:
https://github.com/daleharvey/pouchdb/issues/1727
Manage env config, closes item:307
Synch stock count, closes item:265
Add sync stock counts btn, closes item:289
Add pouch to karma to fix tests
Add test env config
Synch only on last step, handle errors
Merge pull request #150 from tlvince/feature/remote-stock-counts

Adds remote stock count synch
Merge branch 'upstream-develop' into feature/app-facility-config-main

Conflicts:
	app/index.html
	app/locales/en.json
	app/scripts/controllers/stockcount.js
	app/views/home/main-activity.html
resolving conflict after merging upstreaming
resolving conflict after merging upstreaming