Change the determination of mime-type.

I think we are determining the mime-type incorrectly for rendering data,
but it 'just works' because we generally have simple accept headers.

Here's the liberator page about it:

http://clojure-liberator.github.io/liberator/tutorial/conneg.html
render template correctly.