Fix issue in multibind hash :priority conflict resolution

The problem was that priority compare was done the wrong way.
Tests improved.
Sorting speeded up by using sort instead of sort_by
Add test of hash multibind :merge conflict resolution