Refactoring for kh_put
Merge pull request #2038 from ksss/khash-refactoring

Refactoring for kh_put