Backport PR #4098: pass profile-dir instead of profile name to Kernel

avoids relative path issues for local profiles when the notebook server starts in a different directory from the kernels.

moves the `profile-dir` alias from the parallel apps up to the base IPython app

Candidate for backport to 1.1