BTreeKeySerializer: create dependency between Key Serializer and its Comparator. Fix #250