sql_query: init if not initialized
sql.h more debugable
sql.h fetch_row implemented, SQL_RES and SQL_ROW defined
Implemented prevHashFor and fileChanged
Hash-testing
imp�lemented getFileId
Implemented getCatalogId