Use result (duplicated from _.result) to allow defining localStorage as a function

Makes Backbone.localStorage behave similarly to Model urls.