core: Support replacements in ValidationResult + Matchers

Change-Id: I3d931b52d97bbac855c17ac13ee3acbda0c0f6fe
Signed-off-by: Martin Mucha <mmucha@redhat.com>