Added javadocs for VersionSelector and VersionMatcher

+review REVIEW-5227