CMS-3653 Index per workspace

Started splitting indexes into workspace-specific indexes. An index template will give the mapping and settings for each index created.
CMS-3660 Clean up init of indexes

Made the index-settings for each index. Fixed issues with initialization.
CMS-3660 Clean up init of indexes

Fixed tests