5087 local storage message

Feedback welcome! Message can be saved and retrieved from localStorage.
The idea was not to override Backbone.sync but to implement it with a compatible interface. That allows to switch a model between being persisted to the backend or localStorage by overwriting the sync attribute, as @Raven24 demonstrated.