added z39.50 holdings lookups for gm and gt to availability api

In addition there is some new logic in ui.db for doing related lookups by lccn, oclc, isbn and issn. It is basically a mirror of some of the code in ui.voyager, slightly cleaned up. 

Fixes #610 and #609