Messages for rs.js 0.10

This PR updates the messages module for the API of current remotestorage.js master