Tickets expire after 10 days

Adding new constants to SiteDefs
Method update_ticket_and_jobs modified to update ticket's status if it's expiring
Change status of ticket when saved to user account
Warning icon added next to ticket in ticket table for expiring jobs
Merging postreleasefix/78 to master

* postreleasefix/78:
  Tickets expire after 10 days