Allow editable=. for pip.install

Resolves #5392.