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

I've been working on implementing some of the things I know are useful from http://jshint.com/.