Linked data

updated version of https://github.com/RemoteStorage/remoteStorage.js/pull/264
this time it's based off of upstream master, and the tests should hopefully pass (let's see what Travis says...)