Change explain, search and response generation to return a string internally instead of just pushing results out. Refactor GlossaryOnSRU to be obejct oriented, Fix some lines that assume script is only run on a server.
Fix some regressions accessing stuff belonging to the objects now. Unify handling of the db resource some more.
Change options to be a member varaiable.