fixed the inOrder matcher for allOf
Deal with duplicated lines in haveSameLinesAs. fixes #276