Remove obsolete function from state
Remove old that in state
Add spec for state.getToken()
Add spec for state.asString()
Add specs for state.deselectToken()
Add spec for state.deselectAll()
Add spec for state.toggleSelection()
Add specs for state.selectNextToken()
Add spec for state.selectPrevToken()
Add specs for state.replaceState()