Initial commit

I have no idea what I'm doing \o/
module derp
Didn't save the file derp
I wanna use my port >:(
I should probably test this locally
le sign
Tuple-based derp
Derpedy derp derp
hm.
DB inserts now actually insert

I set up local testing at last.
Email sending will work when line 57 is uncommented
ALL OF THE STUFF

Wrapped some database stuff in some functions
Alert messages can't contain html - changed
Added buildinghandler, userhandler, flatmateshandler
buildinghandler returns building info :D
Loads of changes to index.html
DB autocommit on, added deletion of verify keys

Fixed line 22, enabled email sending
More sporadic stuff

Added lots of database wrapper functions
User getting and setting should be functioning
Renamed a load of stuff
Added get_college_by_id()
get_building*() now returns a college name instead of id
Database functions now more like api endpoint functions

Database functions return proper client-ready responses with statuses
Proper grown-up DB queries that "do it all in one line"™
get_college_by_id was no longer needed as a result
database function tweaks

buildingid returned from get_building_by_code and vice versa
Added table definitions
Table definitions

Removed __init__s
added some datetime columns
table_def adds tables when run

Also:
Tabs->Spaces
Square brackets derp
VerificationLink -> ValidationLink

Makes more sense to me