add support for priority-map-keyfn and priority-map-keyfn-by
Merge pull request #3 from ninjudd/master

add support for priority-map-keyfn and priority-map-keyfn-by, also closes #2