lib/cfg: more config checks

Signed-off-by: Oleg Verych <olecom@gmail.com>
lftpd.sh/cnl: Error messages on STDOUT must have prefix 'ERR'

Signed-off-by: Oleg Verych <olecom@gmail.com>