Add first version of BQ output plugin.

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