wip: SQLite 'locked' error on 1.8 upgrader, refs #611

* inc/db_sqlite.php
  * added closeCursor for create statements