Allow passing of pre-existing ipython profile. Fixes #3