Add support for 'query' to the bulk API

I needed a quick fix to allow me to use the Bulk API to query, so added it in the most expedient matter.  In a time crunch so didn't have time to add tests.

Opening the PR so (1) others can find it if they absolutely need this functionality and (2) get feedback to properly implement this (and if the current impl is fine, then I'll put some tests together and you can merge it in)