Use EventuallyMatcher for module tests

Added custom matcher to invoke shell command to obtain
stream modules. Combined with EventuallyMatcher this
allows enough time to ensure that modules are deployed
or undeployed without inserting arbitrary sleeps.