Added RequireJS support

Based on https://github.com/jeromegn/Backbone.localStorage.

Fixes #1.