Scene management delegated to the StateManager

Core is no longer the scene manager.

State changing example added to BasicTest