Added "push safety" to http mapped remotes.

Remote refs and trees will only be updated if the remote ref wasn't changed
since the push began.