Add gateway and vlan fields to datacenter_subnets
fix up setNewName to be more robust

getNewName() has been removed; instead, a device is inserted into the
table using a temporary name based on its serial number or mac
address.  Once successful, the row is updated with an fqdn value based
on that row's id column (which is auto-incremented).