Better test for object/forIn
Fix forIn iteration for IE8 constructor property

fixes #160. closes #162