added addTicket method to Trac

please merge it