Create Ticket, TicketPriority and DatabaseType models. Add some basic
database functionality.