removed unneeded wrapper around $scope.mode and $scope.view,
fixed state function for clustering
Merge branch 'develop' of https://github.com/SampleSizeShop/GlimmpseWWW into develop