Clean up .gitignore.
Started moving authentication methods from User into separate classes.
More changes to the new User and authentication classes.
More work in abstracting user authentication.
Code formatting fixes.
Merge auth into devel.