Improve basic_auth example

Some web browsers will now prompt for user name and password
Merge branch 'improve_basic_auth_example' of git://github.com/acammack/cowboy
Add a more involved REST example

A pastebin type application that can optionally highlight the output as
both text and HTML.
Merge branch 'add_rest_example' of git://github.com/acammack/cowboy