Remove not needed local variable

Signed-off-by: Michal Čihař <michal@cihar.com>
Better handling of ignore rules for checks

Factor out ignore rules into wrapper method, so that this does not have
to be reimplemented in child classes.

Signed-off-by: Michal Čihař <michal@cihar.com>
Use MockUnit for consistency checks as well

Signed-off-by: Michal Čihař <michal@cihar.com>