Implement mocking of templated and final classses/methods

Add new kind of mock type - Mocker.mockFinal.