Add support for HMAC-based one time passwords (HOTP)

Support should be added for the HOTP algorithm as specified in [RFC4226](http://tools.ietf.org/html/rfc4226)