Add runSql gradle task (create databases), other gradle changes, docs for multichunk SQL