Changed UIREGISTER for templated classes to UIREGISTER2.
* it is now consistent with SHAREDPTR2 * it works even when two UIREGISTERS are on the same line in defferent files