pmdaproc.sh: improve PMDA problem diagnosis by checking PMDA syntax
pmdaproc.sh: improve PMDA problem diagnosis by checking PMDA syntax

Add checks to PMDA Install/Remove process to validate syntax of the
agent script before running it to generate namespace and domain.h -
otherwise we end up putting errors in hard-to-find places.

adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp