BibCheck: fixes code_exists plugin

* Generalizes plugin to check any field
  not only 100__.

* Adds unit test for code_exisst plugin.