Fixed notices in some prints.

Please note: unless enclosed in string literals, you must use string
literals to access array elements with strings (i.e. $user['type']
instead of $user[type]).
Major changes to database layout.

Using bigint(20) for all primary keys.

Moved testdata to separate file.

Moved AUTO_INCREMENT and KEY constraints to table definitions.
Completed SQL updates.
Major updates to database.

db.php classes are almost feature-complete.

Specific functions are being re-mapped still.

index.php moved to new functions.
Completed conversion of professor pages.