Refactor/in memory models and synchronous getters

NB: clear storage. so far everything works fine, online and offline. though there are lil Todos to be complete.

ALSO: i noticed that most time we don't used factories to access objects, like instead of using ProductTypeFactory.get, getAll(), storageService is used this defeats the aim of having factories, cause Factory attaches the complete object and does some validations etc does not exist at storageService layer, hence we end up having objects in inconsistent state(sometimes with object, sometimes with uuid). also since this project has grown so big, before creating a function pls make sure it does not exist already al discuss with other to be sure. found out we have a lot of code duplication, functions with different names but do similar things if not exactly same.

thanks.


Does this differ from [angular.copy](https://docs.angularjs.org/api/ng/function/angular.copy)?