Various fixes in IPython.parallel