Added a function to figure out if there is a task number hidden in the
ticket content. Works only for Redmine right now
FUGLY code logic to get the task number from the ticket content