Merge branch 'master' into users

Conflicts:
	server/fastcgi.c
manual merge of fastcgi.c
Add UserCake

We might be able to build on this to make a user management system.

UserCake Version: 2.0.2
http://usercake.com

This commit includes the original UserCake source.
Many files will need to be removed and/or rewritten.

UserCake uses MySQL for storing user information.
There is a C API for interfacing with MySQL. Hopefully that will work.
Modify FastCGI server to use MySQL for auth

Made some general improvements to Login_Handler and how the "auth_uri" is dealt with.
Called strsep, but it's not (that) evil since it doesn't do anything I wouldn't have done with boilerplate anyway.

MySQL for auth tested and appears to work. Using SHA6 instead of md5 (!) hashes.
Begin modifying UserCake

Create admin upload page for uploading / purging users. Incomplete.
Note that this page needs to be secured somehow.

Realised that we probably need to add the UserCake install scripts as well, so we can
customise the database and other things when it is installed.

Modified something in the server too apparently.
I love it when I forget what I actually did...
Add gmail chat log

We should just keep using IRC :P
manual merge of fastcgi.c
modified version to get control key
Merge branch 'users' of https://github.com/szmoore/MCTX3420 into users
Merge branch 'master' of https://github.com/szmoore/MCTX3420 into users

Conflicts:
	server/fastcgi.c
	server/parameters
segment the admin gui
it has been segmented

fact:
usercake encourages spaghetti code
awfhauiwfauiwfauwblaaargh

may have to add back:
stuff

mailing won't work without an mta.
running postfix on the bbb...
Nicen the rego form and add back the change password form
remove old stuff
remove own static stuff. use what's in place
Fix link on login page
Merge branch 'users'

Conflicts:
	server/parameters
Resolved to users branch
Fix some minor compiler issues
use post for login. how did this get lost?
Add in change password
Merge remote-tracking branch 'upstream/master' into dilatometer