Added custom query to database and documentation.

- Core documentation
- update to database doc for custom query
- removed comments in GoalType
Added password compat library.

For proper password usage and etc.
Began work on services.

Detailed each in revamp.md, trying to keep the concerns away from each
other as much as possible.

Created authentication service to wrap the password_compat library with.
Should work to login and etc