Remove custom field code from Ticket model.
Add custom field values relationship and methods to load and get the values.
Update view ticket and custom fields form views to work with the new custom fields API.