Deleted various irrelevancies
Lots of work to get Unit Tested code for Client, User, MOTP and HOTP

This incorporates some external code - clearly identified in the PHPDOC
associated to those functions and classes.