Adds auto_increment and unsigned support to column types

Merges in two PRs from the canonical that have not yet been merged (but work nonetheless).