First draft of commit-msg hook validator