Added path exec to be Puppet 3 compliant, also fixed some variables name...

Added path exec to be Puppet 3 compliant, also fixed some variables names in sudo-syntax-check exec.

It was tested in CentOS 6.4 x86_64 with Puppet 3.3.2