MDLSITE-3221 use local_codechecker if available

If the local_codechecker is installed, give it preference
to any execution of the coding_standards_detector.php job.

Only if it's not available the pear-installed alternative
will be used.