tests: add a few tests involving --collapse and rebase.singletransaction=1
I'm about to change the rebase code quite a bit and this was poorly
tested.
Differential Revision: https://phab.mercurial-scm.org/D2757
# name space package to host third party extensionsfrom __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)