Fixed an omission in the pcp::pmda::init_dso function - needed to be calling pdmaDSO; also updated the examples to build DSO shared objects in addition to the daemons they already build, and add some functional tests to prove it all.
Add explicit close to all dbpmda operations that open PMDAs - not necessary, just good form.
Moved the pmdaDSO call from the light init_dso template into the pcp::pmda class proper.
The helptest pointer passed to both pmdaDSO and pmdaDaemon should be NULL if not used.
Implmented pmdaDSO error handling.
Added a missing #include.
Heading towards a 0.4.0 release.
Merge branch 'master' into cache