Improved git-cms-merge-topic.
Introduce a new helper git-cms-sparse-checkout.

This is done to reuse code between git-cms-merge-topic and git-cms-addpkg.

Notice it does not do any extra check, nor it invokes any git read-tree, but it
leaves that task to the caller.