fix position of errors
Fixed #1832

Add svg to the mime types used in the router
Merge pull request #1837 from jsbin/fix/1832

Send correct headers for SVG.