See detailed description.

- Fixed the database abstraction issue.
- Separated the "header" and "footer" from template files
- Replaced includes with __autoload in config
- Started laying the ground work for the user->login check system

Signed-off-by: Brian McCoy <brianm@cubicleninjas.com>