Add generic DHT-based sensor lib

This commit includes a refactor of the code found at:

    http://playground.arduino.cc/Main/DHTLib

That makes it a bit more object-oriented.