Implement recursion search for entities

SelectEntity objects can now hold other select entities and are , if
presented, used in searching for entities.
Reference implemention is the lecture group, which depends on the lecture