Added stat struct and associated method to db for kvengine tests.
CR changes, including renaming of Statistics struct to Stats.