Unified check-rule-3.x.py scripts with a single checklib.py executable

I've unified the check-rule-3.x.py scripts into a single script - checklib.py. So, executing checklib.py will check for violations of all three rules, and print output accordingly.