update hashroute to latest Dart version.
update license years.
refactor to add unit tests for match algorithm.