refactored feeds module and used remotestorage.js node system for testing

* refactored and improved feeds module
* used node tests to write tests for feeds module. 

node testing will work out of the box once we get the node feature request merged in `remotestorage.js` in the meantime, you need to make a symlink in the node_modules dir, but it's working otherwise.