Implemented hasOwnProperty (issue #2)

Let's try that again. Fixes #2, only.