Allow Dancer::Handler::Debug to get env variables

Env variables can now be specified from the command line,
which should provide a more generic solution for #1041.
changelog
Merge branch 'debug-handler-env' into devel

Fixes #1056