Added SFW.add_type() for adding classes to check if name already exists, and moved SFW.alert() to initial SFW object definition for use with add_type() in announcing errors.
Added SFW.add_type() for adding classes to check if name already exists, and moved SFW.alert() to initial SFW object definition for use with add_type() in announcing errors.

cjungmann/schemafw,cjungmann/schemafw,cjungmann/schemafw,cjungmann/schemafw,cjungmann/schemafw