Create a mock mozAlarm API that uses setTimeout (use with sinon)