Command line tool bugfixes.
SQL scripts converted to unicode.
DBInstall test added.