Add timing to bootstrap test.
Move common C++ code into a separate header.
Add playground test function for small C++-side tests.
Merge branch 'pippijn'