Port from Apache mod_perl to nginx

To be used with nginx compiled with --with-http_perl_module

Replace Apache::Request with Nginx::Simple, which is somewhat similar.
Replace 'defined @...' with '@...'

at the advice of some error messages
Add example nginx config