Enabled code coverage instrumentation (where supported) to the examle applications, so they can contribute to function test coverage soon.
Moved the lcov/genhtml invocation up one level, and split the "check" target into separate "check-unit" and "check-functional" targets (the latter being yet to be implmeneted).
Added some basic functional tests.
Removed some lines that are PCP-version dependent.
A small fix to the functional/test.sh script.
Execute the locally-build examples, not the system-installed ones (if any).