API Extension configuration

I noticed when using this gem that Swagger would break if the routes demanded a specific format extension, so this pull request allows users to optionally configure the API extension. 

I was thinking about doing some work to turn this gem into a Rails Engine, so people could just drop it into their apps and get slick API documentation with minimal configuration. Let me know if you think that's a good idea or not.