Added a crude REST API
Remove extra whitespace
Refactored URL handler; simplified code by using default serializers
Removed redundant code for url patterns
Conform to API naming convention
Merge pull request #39 from this-username-is-taken/rest

Add REST API.