pynag.Model "in" operator implemented for ObjectDefinition

Fixes hang bugs and allows for more pep8 compliant code.