Issue #69: Add onTagEnter option for tag validation

Add onTagEnter option for validating tags or performing other
operations before the tag is added.