hg_with_identity function renamed to hg_wrapper. Added ability to specify a user and an SSH identity.