Allows expansion of array of values in query

Permits: db.query("SELECT * FROM t WHERE f IN (?)", [ [10,20,30] ])
Update Client.js
Cleaned up value formatting

Streamlined prepare() and moved value formatting code to _format_value()
Merge pull request #34 from japhy-/patch-1

Handle arrays when doing substitution for prepared queries