Gtest tests added as a dependent subproject

SigmaTests is built automatically with cmake after the main project is built
Merge branch 'develop' into entitymanager
Test created for EntityManager
Fixed bug in EntityManager

With N contexts, allowed switching into N+1st, which didn't exist.