- added lastState attribute via prototype
- added acceptState method
- tidy
- added accept method
- added tests
- current working state
- added hasChanged
- added hasChanged test
- refactored accept
- added accept() call after CRUD calls
- passing only changed data to remoteService on update calls
- calling accept before data, will be set to return valid data on model.getChanged()
- added test to prove that removeService.update only sends the changed data of the model
- extended model mock with getChanged method
- fixed typo
- added socket.io-client as dev dependency
- separated ModelService tests to use a shared-function which works on both sides
- all special tests are in the separate test-file/folder
- tidy
- added getKeys method
- added docs
- tidy
Merge pull request #197 from peerigon/model-rework

Model rework merged back to master