Simplified local.php configuration

Removed entries that are already in the global.config file and
therefore don't need to be in local.php.
Corrected bool -> int conversions

Corrected issues in the table models that weren't properly converting
bools to ints. This only seemed to impact servers running PHP 5.3.x.
Servers running 5.4.x don't seem to be impacted.