Registry unregister during update fixes, also fixes registration data cleanup (wasn't really a problem before, because no alloc happened in the registrationdatas)
TestRegistrations added to test.cpp, NOT an all-around test!