Added a check to find duplicate keys defined on classes and objects.
Merge pull request #92 from AsaAyers/duplicate-key

Added a check to find duplicate keys defined on classes and objects.