adding revision to routes

@drsnyder 
https://wikia-inc.atlassian.net/browse/PLATFORM-421
adding revision data to routes, adjusting unit tests accordingly, adding unit tests for media_types, since it's a bit more complex now.