Fixed issue with `hasOwnProperty` and null objects
Merge branch 'master' of github.com:balderdashy/waterline