call hasOwnProperty on Object.prototype to avoid errors on non-standard made Object values. Resolves issue #3
Merge pull request #4 from interlock/master

Resolve issue #3