Added initial construction script for db for basic Civ.
Updated insert queries and added CardGroups table.
Database construction script can now rebuild an existing database without
foreign key constraint violation errors.
Added database construction to the build process.