Test fixes also remove stats files
More test cleanup for stats functionality in place
all tests now cleanup after themselves
More fixes for more tests
Remainder of tests for global and local stats
also included ability to clear global cache via code
since it will be locked by the process
tests for all of it

Bugfix in the btree incrementor so a new node is set to 1 properly