CURATOR-84 More flexibility for InterProcessMutex extensions

Credit goes to Jozef Vilcek for the initial patch. I just created a PR from the original patch he had created.
Sorry for the previous comment, but this, actually, needs to be public right? Also LockInternalsDriver would need to be public? The issue seeks to have nodes created with PERMANENT. Right?