Fixed bug with non-escaped characters in sqlite strings in db_sqlite.cpp
Added missing registerError() calls to auto_db.cpp
New function to get filename extension.
For extensions, chop off all characters at the first char that is not alphanumeric (or underscore). The situation does happen, e.g. for files named from URIs.
Added underscore to regexpression to allow it in extensions.
Added missing lock release in SQLite hash db impl
Added missing verbose lookup for text-format hash databases
Fixed bugs in unbind/reset of prepared statements for SQLite hashdb
Removed dead code
Merge pull request #293 from APriestman/develop

Fixed bug with non-escaped characters in sqlite strings in db_sqlite.cpp
Merge pull request #295 from SynapticNulship/extfunc

New function to get filename extension.
Merge pull request #296 from rcordovano/hashdb_fixes

Hashdb fixes