'Query this object and all of its references for objects that
match the given selector.
Args:
selector (JSON-like) :
Returns:
seq[Model]'

def select(self, selector):

    return find(self.references(), selector)
