[checkmk-commits] some cleanup and fixes in the modernized perfcounter code and added a small test application