Bug 1017946 - Kill usage of hasOwnProperty global, fixed interdiff. r=aleth a=RyanVM

--HG--
extra : amend_source : aa6a4aa195c061f5acf4cf0282643c1ff4ce8f89