Schema format change

schema['tables'][tablename] was a list of columns.  Now it's a
dictionary containing table info.  Only key right now is 'columns' with
a list of columns.