Custom ticket statuses

This pull request take the first stab at implementing custom ticket statuses

Custom status are subset/sub-statuses of the core possible five ticket states; 
 * open
 * resolved
 * closed
 * archived
 * deleted

A status can also have built-in ticket flags.

* onhold
* overdue
* answered