Added foreign keys to db.dbinit.

Added all of the foreign keys to dbinit.
Merge pull request #13 from TheoDevelopers/setup-forignkeys-dbinit

Added foreign keys to db.dbinit.