Table lookups

The various ticket lists will now lookup the foreign key information
instead of just displaying the id of it.