SqliteDb: add parameters to db methods
SqliteDb: add parameters to db methods

It is convenient to run SQL queries with formal parameters even for
one-off queries where you don't want to store the prepared statement.
For example, if you have the SqlValue
val foobar = SqlText("foobar"),
it is more convenient to run
db.foreachRow("SELECT * FROM foo WHERE bar = ?1, foobar)(println)
instead of either
db.foreachRow("SELECT * FROM foo WHERE bar = " + foobar.toString)(println)
or
db.prepare("SELECT * FROM foo WHERE bar = ?1")(_.foreachRow(foobar)(println))
and the string concatenation approach is also vulnerable to SQL
injection.

This is a functional no op for all existing calls to these three
methods.

Bonus: remove some unnecessary dummy variables and curly braces

ongmingyang/scalaqlite,meraki/scalaqlite,ongmingyang/scalaqlite,srhea/scalaqlite,srhea/scalaqlite,meraki/scalaqlite,srhea/scalaqlite,meraki/scalaqlite,ongmingyang/scalaqlite