Merge pull request #16 from jhamrick/versioning

Add better support for versioning
Move licenses and sources code into their own files
Start working on a generic resource object
Add tests for getting/setting resource data
Add tests for getting/setting resource paths
Add tests for getting/setting resource url
Add name setter and related tests
Add format setter and related tests
Add setter for mediatype and associated tests
Add encoding setter and tests
Add methods for guessing the resource format and mediatype