CLOUDIFY-1712 Refactor StateCacheSnapshot into seperate Map + View objects