Allow ZDefinitions to be defined in the config

ZDefinitions are now defined in the python configuration file as PSets.