Martini middleware/handler for parsing Ace templates and rendering HTML