Added a validation on the GSIM name

See https://bugs.launchpad.net/oq-engine/+bug/1362639. I have also removed a lot of obsolete and no more used core. The tests are green: https://ci.openquake.org/job/zdevel_oq-commonlib/76