remotestorage/remotestorage.js — pull request #767 by silverbucket (2014-09-15 19:19:04+00:00)
Title: When running in node, ready is never fired.

When running the remotestorage-node.js, the ready is never fired because there is no Authorize feature. In these cases there is a remote, it's not connected, and since Authorize is not enabled this is the only part of code where `ready` can be possibly fired.

So I added a function `hasFeature` to check for the `Authorize` feature, and if it does not exist, we know there's no point in waiting for `remote`, so we fire ready.

I don't yet understand large parts of the code-base but wanted to present this fix to get feedback and perhaps learn of a better way to resolve this issue, otherwise it's not possible to run the library in node as just an `inmemory` library.