Martini middleware/handler for easily rendering serialized JSON, XML, and HTML template responses.