fix for environments with changes in Object.prototype

Although it's not recommended to, but it's allowed to augment Object.prototype with more properties and methods. Using hasOwnProperty enables Mustache to work with no changes in those environments.