Fix implicit stop mocking of class methods

When class methods are mocked via partially mocked objects, they are not removed when the mocked objects are deallocated because -stopMocking is overridden.