Make TestSymbolDatabase::hasClassFunction's code snippet valid.
Merge pull request #444 from simartin/testsymboldatabase_valid

Make TestSymbolDatabase::hasClassFunction's code snippet valid.
Cache search result to avoid dual search
Merge pull request #446 from Dmitry-Me/eliminateDualSearch

Cache search result to avoid dual search
Must catch and translate exceptions on top level
Merge branch 'master' into travis_gcc_testsuite