String formatting issues in console

Warning message printed as  `warnings.warn("Task %r without outputs has no custom complete() method" % self)`
 -changed the warning printing so that string formatting works correctly.`

`__repr__` for a Task didn't clean the arguments beforehand: a `\n` would cause formatting issues. Cleaned up self.task_id.