Fixes issue #179.
It now gets the direction correct, when the flow spec involves a feature
in a feature group.
It had to consider the fg inverse of and/or the inverseof the feature
group type if it does not have features.
test for isNull instead of just null to handle unresolved FGT reference
Doing a better job at determining whether the endpoints of a connection
and a flowspec match up when they are a fg or a feature in a feature
group
Fixed reporting of Error. Had to be part of a else clause.
Fixed name resolution when looking up in component implementations.
It was looking for the name in the type of the ancestor before looking
in the type of the current component type.