pmconfig: small tweaks to make more generally useful
pmconfig: small tweaks to make more generally useful

Minor changes to pmConfig python APIs to allow them to be
used in more situations - no changes to existing clients.

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