Added better checks whether the ticket was created

Check the page title instead of the full page for the ticket title.

Check the list of open tickets to see if there is an entry for the
ticket ID.