Merge pull request #138 from eHealthAfrica/develop

Demo 2014-03-21
Merge branch 'develop' of https://github.com/eHealthAfrica/LMIS-Chrome into develop
insert method refactoring, #new: update, save. #deprecated:getTables
storageService unit tests update
add check if uuid is not empty
Method renaming: addTable() -> setStorageData(), getTable -> getStorageData()
chromeStorageApi resolve value fix - #312 item
further refactoring
add setTable() method which loads init data
changed stock count nav buttons to align side by side in mobile mode closes item:351
Merge branch 'develop' into refactor/re-arrange-ui-elements
Merge pull request #192 from musamusa/refactor/re-arrange-ui-elements

Refactor/re arrange ui elements
Merge remote-tracking branch 'origin/develop' into develop
resolve merge conflicts
Notify spinner of success, update counts
Update Pouch's stockcount if saved
Notify when sync starts
Remove home ctrl debug message
Manually handle replication

`pouchdb#sync()` seemed to be only uni-directional (from the remote); possible
bug in `angular-pouchdb`?