Don't remove agentType when clearing state.
Merge branch 'master' of ssh://git@github.com/almende/eve.git