app.pl obeys --confdir

Fixes #724
Merge branch 'confdir' into devel