REVIEW: [NX-501] Token Pattern Parser

JIRA: https://issues.sonatype.org/browse/NX-501
Bamboo: http://bamboo.s/browse/NX-OSSF255-1
fyi, guava has some nice helpers for equals, hashCode, and toString. As long as this works it doesn't really matter IMO, but for future reference, I'd find doing something like this a little easier: https://github.com/sonatype/nexus-oss/blob/master/components/nexus-componentmetadata/src/main/java/org/sonatype/nexus/componentmetadata/RecordId.java#L50