Basic infrastructure for API versioning and hooking to Rails