Enhancement: Optional Content-Type header on view rendering

Hi,
there are a few cases where one needs to render a template without sending HTTP headers (for example when rendering an e-mail template). Setting the `$mime` argument to NULL should be enough to prevent headers from being sent.