use hasattr/getattr instead of eval, remove unused code
use hasattr/getattr instead of eval, remove unused code

mwengren/pycsw,geopython/pycsw,tomkralidis/pycsw,ricardogsilva/pycsw,geopython/pycsw,benhowell/pycsw,ingenieroariel/pycsw,kalxas/pycsw,ocefpaf/pycsw,ingenieroariel/pycsw,bukun/pycsw,kevinpdavies/pycsw,ckan-fcd/pycsw-fcd,PublicaMundi/pycsw,mwengren/pycsw,geopython/pycsw,tomkralidis/pycsw,rouault/pycsw,tomkralidis/pycsw,ricardogsilva/pycsw,benhowell/pycsw,kalxas/pycsw,ricardogsilva/pycsw,rouault/pycsw,kalxas/pycsw,PublicaMundi/pycsw,ckan-fcd/pycsw-fcd,kevinpdavies/pycsw,bukun/pycsw,bukun/pycsw,ocefpaf/pycsw