increase problem skeleton max size from 400 to 2000

More generally, support database migrations that increase the
size of a field.

Also, cleaned up some code in DBUtil and SchemaUtil so that
SQL datatypes with modifiers are generated consistently.