Addes 'mock' library support
Refactored deferred_test to use 'mock' mocking library
Refactored callback_list_test to use 'mock' mocking library
Refactored promise_test to work with 'mock' mocking library
Added mock_helper to help testing
Refactored when_test to use 'mock' mocking library