Improved debugging of ipython clusters: more logging, and allow specification of a profile directory inside current project