Add a includes dot filter

To see if a state is a child state, it is easy to see if the state
includes a dot. The includesDot filter returns true if the given string
includes a dot, and so one can reason that a state is a parent state.