Created UserFactory.class.php

UserFactory created with static createFromDatabaseObject() method.
This method takes the object returned by the database in the UserRepository.
Modified UserRecords.class.php

authenticate() replaced with withUsernameAndPlaintextPassword().
Takes username and plaintext password (lol, get it?) and returns
a user object if the username and password match, and false if they
don't.