Added compatibility with Backbone 1.0

Change based similar fix on Backbone.localStorage
https://github.com/jeromegn/Backbone.localStorage/commit/bd34c367442f6854c0d5664425ec04c8108a69fe