First commit

Very basic templating currently "functional".
Need to implement auth system now.
Added user registration handling

created two views for register.php, added the
method create_user(name, email, country, password) to the
User class.
About to cowboy a session class.
It saves things to the db, seemingly at random.
Last commit before overhauling Session
Session handler seems to work.

Changed it to an implementation of SessionHandlerInterface.
Moved instantiators, about to rewrite sessions.
Sessions really work. Really.

So I actually properly implemented SessionHandlerInterface in
class Session. "grapefruit.php" has been updated for it, so now all each
page has to do is use the session superglobal.

Also, I added the dump of the database to be placed in SCM because not
doing so would be irresponsible.
Logging in works.

Changed the hash functions to the correct ones and cleaned up the
conditional statements.
Moved login.php back to one file

Having login.php be two files was just a kludge for troubleshooting
purposes. The trouble has been shot.
Minor changes to User and updated schema

User method create user was not updated after the schema changed, so I
updated that to no long include an incorrect salt column.

Database schema was updated to reflect changes in the structure.

Other minor logic issues were ironed out.
Can set a few user properties on login
Logging in really works
User data is now passable to the view

Class Template has been updated with a real method of variable replacement
which is documented in the wiki. Essentially variables are encased in
the following: [@varname]. This will do for most purposes. Control of
control structures within the views will need to be done at a later time,
but those can be done with similar tags and an eval or something along those
lines.

Class User still needs to have methods of enumerating the contents of the
inventory and the numbers of messages and notifications. Also, messages and
notifications need creation in the schema.
Updated templates slightly

Made the calling of $template->set for variable STYLESHEET
occur in grapefruit.php rather than for every single possible
view.

The next move will need to be the creation of the Company
class, in order to allow workers to work and that sort of
thing.
Small changes before company
Added User method owns_a_company()

The next few commits should be small incremental changes.
Added User method fetch_companies()

Method User::fetch_companies() returns an array of db rows.
Added the basic company.php page with functionality
Removed bogus boolean