Modfied getType and class creator

When creating new objects whos type you wish to customize,
give it a "|**TYPE**|" property. This will be returned
with the general $C.getType function. Nice!

The class creator was modified to use the above. Also
added more filters. If the arguments array contains
anything but classes and objects, an error is thrown.