Add capability to cancel outstanding performSelector requests.
Fix deadlock bug in which the execution on the main thread would attempt to dispatch onto the main thread.
Add support for the mock run loop to correctly override behavior for cancelling performSelector comamnds.