#469 add hasownproperty to prevent references looking in the prototype

fix for issue in #469.

This pull request only addresses the head of master. If we want to address the previous branches I can add the fixes to those branches too.

thanks
`_get` and `get` are the abstracted methods. i could create a small private helper method for this but seems a bit overkill. I'm open to it though.