Finish implementation of project.php (for now).
Fix SQL schema incorrectly trying to INSERT values.