fix keyword handling, fix document type handling
fix keyword handling, fix document type handling

mbertrand/OWSLib,JuergenWeichand/OWSLib,gfusca/OWSLib,b-cube/OWSLib,daf/OWSLib,jaygoldfinch/OWSLib,jachym/OWSLib,daf/OWSLib,datagovuk/OWSLib,tomkralidis/OWSLib,jaygoldfinch/OWSLib,kwilcox/OWSLib,menegon/OWSLib,geographika/OWSLib,robmcmullen/OWSLib,dblodgett-usgs/OWSLib,datagovuk/OWSLib,ocefpaf/OWSLib,daf/OWSLib,QuLogic/OWSLib,kalxas/OWSLib,Jenselme/OWSLib,datagovuk/OWSLib,geopython/OWSLib,bird-house/OWSLib,KeyproOy/OWSLib