Bug 920023 - Add gaia command line interface to gaiatest. r=wlach

Pulling these changes into `v1.2` from `master`.