A tiny Mojolicious server in a test program

I originally wrote this quickly to see about posting to my reddit profile: the post Sometimes I need a simple web server to do something in a test. Most often this web server needs to simulate some error condition, such as a timeout or other server error.