added test for generic dictionaries
Fix dictionary key handling for primitives that get boxed
Merge pull request #18 from scopely/test/generic-dictionary

added test for generic dictionaries