more consistent handling of array-values in model change event propagation
* refactored and simplified saving models to the localStorage, but doesn't enabled yet due to some bugs
* fixed issue with serializing and restoring collections with empty starting range (pretend lazy-loading) while passing from server to browser
* made totalCount caching to localStorage and invalidation smarter, but there is still need to improve
removed unnecessary debug output