Add clearTimeout method

Add clearTimeout method, needed for freedom-social-xmpp tests to pass using the new version of node-xmpp (https://github.com/freedomjs/freedom-social-xmpp/pull/8)