Store flag whether checks were changed

Issue #540

Signed-off-by: Michal Čihař <michal@cihar.com>
Automatically update unit checks on source check_flags change

Issue #540

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