Basic remotestorage functionality, added json2 and sha512