Implement new method for detecting dialed number.

Use the time elapsed between the first pulse and when the dial comes to rest
to determine which number was dialed. This is MUCH more reliable than the method
used by Sparkfun, which counts individual pulses.