Add first version of BQ output plugin.

Reviewed in https://codereview.appspot.com/13467046/
Handle errors when checking status.

Reviewed in https://codereview.appspot.com/20830043/