SubmoduleSubscription: Move common code to AbstractSubmoduleSubscription

This makes it easy to introduce another class for testing the submodule
subscriptions.

No changes in behavior and functionality intended.

Change-Id: I45068b8cf8312bceef935048fb7f9babd8d72201
3 files changed