make `wp db query` optionally read from STDIN
test that database is selected
db query: select database

Also, let WP_CLI::launch() proxy STDIN, instead of reading it
explicitly.
man: add `wp db query` example
Merge pull request #55 from wp-cli/query-from-stdin

Make `wp db query` accept a file or STDIN