Add JSON response spec helper
Updated API routes
Added support for SVG
Add error case spec coverage
Updated travis config and README
Created MimeType helper
Add support for JSON requests