Add localized state, add enough functionality to now switch to refactor
Small refactors
- Remove boilerplate from Dispatcher definition.
- Make it possible to pass through data when calling emitChange on a
  store.