Added ability to specify column classes in table-model

I've found this useful for ensuring correct formatting and sorting behaviour in the tables.