implement "pip self-check" with automatic invocation by default

initial work cribbed from PR #1214 but then I changed direction a little
I think this should contain the timezone info as well to handle the in which the timezone of the computer changes.