Merge pull request #520 from freefony/refactor/bundle-save-with-only-facility-uuids

Refactor/bundle save with only facility uuids
remove mock data and unused functions.
Merge branch 'upstream-develop' into feature/update-stock-graph-with-stock-balance
adds transaction summary functions. refs item:836
adds get ledger stock balance function. refs item:836
unify ledger stock bal and most recent stock count and update stock graph. refs item:836
updated sorting logic
Merge pull request #522 from freefony/refactor/unit-of-measure-for-ledger

Unit of measurement calculation for ledger
Merge branch 'upstream-develop' into feature/update-stock-graph-with-stock-balance

Conflicts:
	app/scripts/services/bundle-service.js
Merge pull request #521 from jofomah/feature/update-stock-graph-with-stock-balance

Feature/update stock graph with stock balance
removed some locale texts.
fixed missing received from header title
code clean up and formatting.
fixed sync function
minor fixes
Merge pull request #523 from jofomah/bug/fixed-missing-header-title

Bug/fixed missing header title
converts batchFactory to service and update functions
adds reference to batch service file
adds auto complete.
adds missing label texts