add iteration fixes of _.keys to _.isEmpty

This is an attempt to fix #1983 

I tried reusing parts of _.keys that made sense to detect if an object was truly empty in IE < 9