Fixed #4970 (false positive: conditionally initialized variable used in if-clause (git/notes.c))
SymbolDatabase: Refactoring of findFunction
cppcheck compilation fails with g++4.6.3. Patch from mavik1
Fixed #4272 and #6237 (Crash from running out of memory with many templates)
SymbolDatabase: reintroduce test, move symboldatabase cleanup code to SymbolDatabase destructor