Merge service files that may exist in jars

Using the pattern that is used on the shade plugin so that it was
easier to write this code, and so that porting over other transformers
would be easiser later if desired.