Make MapEntry generic in <? extends K, ? extends V>, and update tests to match

This makes MapEntry generic (as in #24), along with updating every example in the tests to explicitly use those generics.