Add MQTTClosureIntervalTimer

- Class invokes a block of code regularly unless the timer is reset
- Useful for sending a ping message regularly to keep the connection alive;
  however, if a message is sent, reset the keep alive interval