Adds \b around learned regexes where appropriate
Raises exception when annotation ID is already in use
Fixes handling of regexes for empty annotations
Escapes special characters encountered while training regex annotator