Added functions to register new components into the class factory.
Removed usrdefsub-wrapper (using classfactory instead now when it is in oofemlib).