minor refactoring to app config to use utility functions
moved isStockCountDue to stock-count-factory, moved addObjToCollection and castArrayToObject to utility service.
exposed reminderFactory interval constants.
moved addObjectToCollection from app-config-service to utility
added sorting of stock count by created date.
minor refactorings
updated stock count history to show stock count by date created.
added stock count is due and other necessary functions
Flip device email logic for readability
changed folder name
minor fix
removed incorrect and unnecessary functions. refactored isStockCountDue to work with base on interval.
changed to group by count date and added count date in history list
added functions that enable stock count reminder to be dependent on interval.
minor fixes so that stock count list can contain date info.
added tests for stock count reminder related functions.
Merge branch 'upstream-develop' into refactor/stock-count-reminder
highlights stock counts that are not editable at history list.
added product category  mocks
Merge pull request #379 from tlvince/refactor/device-info-readability

Flip device email logic for readability