Add task_search api to search for task by task_id

I am writing a luigi plugin for hubot (https://github.com/interskh/hubot-scripts/blob/master/src%2Fscripts%2Fluigi.coffee) and find it helpful to be able to search tasks by task id. So I added task_search api. It returns a dictionary as {status: {dict of tasks}}