get_factor_levels function

Get levels for factor columns in data.table