This commit fixes an issue with sizing of the buffer used to retrieve
data from the sqlite backend keeping top stats. Now the sqlite
backend allocates itself data structures of the needed size and
these same structures are used for retrieval
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github