change signature of createTask

Instead of https://github.com/iron-io/iron_worker_java/pull/8