added sqlite support for stats
Merge pull request #90 from jackfengibm/stats_db_s5939

added sqlite support for stats