Added general search

Added general search support to G2M and M2M. Cleaned up service code a
bit to eliminate duplication.
Merge branch 'zwright-g2m-m2m' of github.com:NCIBI/transmartApp into zwright-g2m-m2m
Merge remote-tracking branch 'origin/zwright-g2m-m2m' into new-ncibi-tools