qglue, with updates to docs and tests

This implements and documents the qglue utility.

It also updates several areas of documentation