First major functionality commit

 - Adds tests
 - Adds usage examples in resourceful.js
Update readme