Begin to rewrite the authentication system.
This is to provide greater security and allow access to the ban manger through an API.

Change to actually use wordpress's functions to authenticate. Provide the option to authenticate using wordpress.
Check the nonce when performing an API request.
This adds a new table to the database schema.
Merge branch 'master' into auth
Use the new database getDate function.
Change back to always establishing the database connection when creating the database object.
This is because most authentication requests now require the database connection, so almost every request will require a database connection.
Add unit tests for the new authentication methods.
This required adding a fake wordpress load page and changing the mock database so it can be told to throw exceptions.
Some cleanup of the authentication tests.
Check the ban manager cookie when logging in.
Also rearranges they authentication class methods.
WIP
Now possible to send login credentials and get authorization cookie.
Adds the password table to the database.
Update the authentication unit test for the changes to authorization.
This also fixes several bugs found though the unit tests.
In addition change the mock database so that it can be configured when to throw an exception.
Add default setting in the mock settings for the use_wp_login flag.
[Auth] Remove deprecated use of split.
Change login user to be more consistent with getModeratorInfo.
Update test so an empty array is not returned falsely during the test.
Fix accessing the wrong array index when attempting to login a user.
Store the hashes in binary instead of a hex string.
Update the database update script so it will add the new authorization tables.
Change the timestamps allowable time range.