Improve bfCheckJavaPath performance testing

This commit should fix instabilites in the daily build of TestCheckJavaPath.
Successive calls to bfCheckJavaPath are not treated as independent. More
precisely, performance is only assessed for the third call and onwards.
cpp: Move cmake project root to top level

Moving the toplevel CMakeLists.txt to the project root permits the
project root to be used by cmake directly.  This permits proper
paths to docs, components, etc. to be used.
cpp: Fix comments and indentation
test-build: cpp builds using project root
cpp: Update README to use project root
Merge pull request #749 from rleigh-dundee/cmake-root

cmake: Use git root as project root
Merge pull request #745 from sbesson/matlab_performance_test

Improve bfCheckJavaPath performance testing