changed counting unit of measurement to product type base uom e.g doses instead of vials. Refs item:446
huge refactoring to improve code quality and flexibility
fixed storage service bug
added test to test that storageService.insertBatch throws exception when called with non-array second parameter
huge refactoring to improve code quality, updated tests, used reminder factory for stock count reminder.
Merge pull request #308 from jofomah/fix/change-vial-counts-to-doses

changed counting unit of measurement to product type base uom e.g doses ...
updated inventory rules mock data to suit switch to product type uom.
updated product profile and product types fixture.
Merge pull request #310 from jofomah/feature/updated-reminder-factory-and-integrate

Feature/updated reminder factory and integrate
Merge branch 'upstream-develop' into fix/replaced-dtp-with-penta-removed-bcg-10

Conflicts:
	app/scripts/services/inventoryrulesfactory.js
Merge pull request #312 from jofomah/fix/replaced-dtp-with-penta-removed-bcg-10

Fix/replaced dtp with penta removed bcg 10
refactor the save multiple stock out by adding save batch stock out function
refactor batch insert function  and load fixture and minor best practice changes to some functions
removed unused return data and beautify array output to console
fixed duplicate date and minor indentation fixes
minor indentation fixes
merged upstream to local changes
Merge branch 'develop' into refactor/best-practice-minor-fixes
0.8.1
updated discard count uom code and bumped old version