fix crlvalidator, code quality, add commons-io dependency