v0.2 rewrite

https://github.com/hoodiehq/hoodie.js/issues/51