fix implementation using celogeeks example

* right implementation for detecting PLACK_APP ($0 if $ENV{PLACK_ENV})
* try to find environments basedir from app
* allow sub-configurations (not pure) for plack_env_dir