Upgrade StateManager to new-style class so that super() call doesn't fail

Upgrade NaoStateManager to new-style class so super() call doesn't fail

Upgrade StateManager to new-style class so that super() call doesn't fail