Fixed populate script

Will now insert with proper foreign keys
Will now correctly truncate tables before running
-ERROR: Sometimes it must be run twice to work (some issues with
truncating the tables followed by an insert it seems)
Merge branch 'master' of https://github.com/mmullen/Fourth-Year-Website