branch: add quick marker to see published status

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
remote-hg: add more tests

Inspired by the tests in gitifyhg.

One test is failing, but that's because of a limitation of
remote-helpers.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>