Add user and client groups (still to be unit tested)
Move permissions back into \Core\Object\User.php
Various fixes to the Object classes

* Following a code_sniff, tidy up whitespace and bracket placement
* Correctly name all the ClientGroup and UserGroup functions, table
names, etc. - including the class names!
* Add a skew value to the token classes and tests
HOTP now tracks skew from 0
Add Skew tracking to TOTP
Identify token types
Incomplete login success/failure recording

* Needs more work on the Log class.
A login action for easier processing
Oops, meant to commit this a while ago - storage of config values in here.