Improved MGB interface, added it to groebnerBasis.

No documentation yet, as I expect the interface to change.  Also, there
is a bug in mgb for module input.
Changes to tests, in order that they will run with no optional libs