OC-10250

Add specs for plugins with invalid content, and beef up the loader to handle some of these issues (especially those pertaining to bad plugin names). Add an InvalidPluginName exception, and check plugin name type and syntax in NamedPlugin before continuing the evaluate the plugin contents.

@sersut @danielsdeleo