Add a more involved REST example

A pastebin type application that can optionally highlight the output as
both text and HTML.

I tried to make this as semantic as possible, but it is likely I missed something. Hopefully it will help with #326.