Clean react-key-from-vec function
Clean react-key-from-vec function

Closes #492

Inpired by @zelark's suggestions at https://github.com/reagent-project/reagent/pull/492

reagent-project/reagent,reagent-project/reagent,reagent-project/reagent