Add #getForeignKeys() method to Table.
Expose db and columns as public Table property; make getColumns and getForeignKeys private.