Fixed issue with parent transition filtering

When no transition are found for the specific InternalState, the parent
of the state is checked for possible transitions.  The filtering of the
transition set was performed by the InternalState rather than the State
value of the parent.
Merge pull request #14 from bnormsoftware/parent_transitions

Fixed issue with parent transition filtering