Add a more involved REST example

A pastebin type application that can optionally highlight the output as
both text and HTML.