Add getParameterType to Matcher and implement in derived matchers.
Make AnyOf and AllOf have the same base class. Make the mismatch description for TypeSafeDiagnosingMatcher match TypeSafeMatcher.