Replace HashBasedTable for HashBasedMatrix for storage of chevron -> portal mappings

Also this is home grown, but in essence is the same concept that was used for the HashBasedMap, so performance should be comprable.