Adds allow_dirty_match to Check and Commit plugins

Allows specifying the files to ignore or commit based on a regex in addition to an exact filename match.