resolve: port to generic templater
Test output changes because color labels are applied separately.
resolve: extract -l/--list operation from big loop
This prepares for porting to generic templater. repo.wlock() and ms.commit()
should be unnecessary for "resolve -l".
resolve: silence warning of unknown pats for -l/--list (BC)
It was introduced at
232de244ab6f to warn that "hg resolve" did nothing
meaningful. The warning seems not good for "hg resolve -l" because it is
rather like "hg status" or "hg files".