Removed duplicate duplication of logging levels

Found in rlm_perl/example.pl
Check if module was built as threadsafe but library now claims not to be
Move return code processing to a single function in rlm_krb5