Add support for generating primary, unique, and foreign key constraints
Fix outstanding syntax errors
Code is now buildable again, hurray