Fix PATH_TO_QMAIL_QSTAT in configure

When configuring PATH_TO_QMAIL_QSTAT the PATH_TO_MAILQ would get applied instead after tests had passed. Also made --with-qmail-qstat-command a configuration option.
Merge branch 'maint' of https://github.com/nagios-plugins/nagios-plugins into maint