fixed null pointer exception when typing prototype actual.
Fixed issue with connection instance creation when a feature group is
involved and it has been defined via a feature group prototype.
added cyclic_next_next next_next (same for previous)
added new patterns: next_next, previous_provious (incl. cyclic version)
and odd/even