p4v integration

This fixes the merge conflict in mattyork's pull request #13 and also fixes the patch so that the p4v commands work in more perforce scenarios.
Tested in an environment which used separate host:ports for the server, peer, broker and server license addresses.