Improve references validation
Improve references validation

Process valid references just once and add support for multiple
reference drivers to validate the same reference maybe one is valid.

clns/node-commit-msg,sitestacker/commit-msg,clns/node-commit-msg,sitestacker/commit-msg