allow passing JS array as a parameter instead of an array literal where SQL expects an array
a visit from the jshint police
make indentation and blocking style consistent.
Merge pull request #278 from adunstan/master

Allow passing a JS array instead of an array literal where SQL expects an array