WIP BibCheck: new ticket creation policies

* Adds the `--ticket-creation-policy` option which can be either
  `per-rule`, `per-record`, `per-rule-per-record` or `no-tickets`. These
  control how tickets are dispatched, if at all.  `--no-tickets` is
  preserved for backwards compatibility.
  (closes #2383)

* Turns `errors`, `amendments` and `warnings` of records into instances of
  the new `Issue` class. This allows for a more coherent way of storing and
  extracting this information.

* Changes the call to `BIBCATALOG_SYSTEM.ticket_submit` to pass recordid
  only if the ticket concerns a single record.

* Fixes a typo in a comment.
- trim spaces `"""Handle ticket accumulation and dispatching."""` and check http://legacy.python.org/dev/peps/pep-0257/ 

> It prescribes the function or method's effect as a command ("Do this", "Return that"), not as a description; e.g. don't write "Returns the pathname ...".

- add an empty line before class comment