Fixes #1222 -- optimize  implementation to use native keys() where possible.
Merge branch 'master' of https://github.com/jashkenas/underscore