Mv counters update

This branch updates the performance counters Init() function to properly resize the shared memory as variables get added to the code.  Previously, a user would have to manually "ipcrm" the shared memory segment (or reboot the computer) to have counters work after leveldb upgrade.

perf_count_test was created to validate the changes.  It is now part of the standard "make check" tests.