added get_task() method

retrieves a task given an id supplied via GET