Feature #677 widget cipher (rebased)

continuation of https://github.com/remotestorage/remotestorage.js/pull/678