switch to the new StateManager
Merge branch 'master' of https://github.com/x3dom/x3dom
Merge branch 'master' of https://github.com/x3dom/x3dom