Implemented basic API versioning support. See http://railscasts.com/episodes/350-rest-api-versioning.