updated remotestorage-node.js
added tests for email module