FELIX-4541 - Applied patch from Raluca: - add integration tests for registrations with multiple patterns; - implement support for registration of patterns using service rankings; - some dings and dents fixed in the code.