Adds composer for hmac, removes php4 code/support.

Composer is much better suited for including HMAC (which is actually HMAC2
since HMAC is unsupported) so we use that instead. Also, having a method with the
same name as the class threw fatal errors in php 5. Also removes deprecated code.