[#1872] migrate code from server/icat/src to plugin/database/src and wrap the database plugin in a generic build and packaging framework
[#1875] move the chlOpen calls to be the first call made to the chl interface in the test_genq and test_genu