Tool Labs: tweak sql utility

So that it accepts an sql statement(s) on the command line
like its toolserver equivalent.

Change-Id: I6e67aef395abafb7ab83bae834783a8f42c6d76d