Add clearImmediate mocking support to the timers API

This is the other half of #372, and extends the timers the same way to add clearImmediate in too.