Add some auxiliary methods to Model

/cc @danschultz

* Added memberUri, which returns RESTful URL for this resource as a
  member, like http://www.example.com/path/to/post/1
* Added collectionUri, which returns RESTful URL for this resource as a
  collection, like http://www.example.com/path/to/posts