Trouble Ticket Groundwork

Used gii to generate the basic models and CRUD controllers for the
trouble ticket system.
Ticket Groundwork

Made another model that I forgot before.
Migration Tweak

Modified a lot of the primary keys to use AUTO_INCREMENT, I kept on
forgetting to do this.
Tickets View

Minor changes to the ticket and comment views.
Ticket Module Groundwork

Had to rename the TroubleTicket module to the Ticket module to fix
srbac.
Foreign Key Fix

Fixed a mistake with the foreign key in the migration for the
ci_comments and ci_ticket_comments.
Categories and Subjects

Selecting a category will populate the subject box but it doesn't limit
the number of subjects.
Categories and Subjects 2

Selecting a category will now properly populate the subject drop down
box.
Table lookups

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

The create comment form now appears at the bottom of the ticket view.
But it does not yet show a ticket's comments
Ticket and Comments

All comments on a ticket are now shown on the ticket view.
Subject and Tips

Selecting a subject will now show a list of non selectable tips.
Close Ticket

Tickets can now be closed, but there is no email alert or list
exclusions yet.
Open and Closed Lists

Seperated the index list into a list for closed tickets and a list for
open tickets.
Reopen Tickets

Added the ability to reopen a closed ticket.
Ticket Messages

New migration
Migration change

Simplified the table structure.
Conditional Migration

Added a migration for the conditional tables.
Tip fix

Fixed a bug that was causing the wrong tips to be displayed in the
trouble ticket form.
Conditionals Groundwork

Laid the groundwork for the conditional textboxes on the trouble ticket
form.