engine: add checkstyle NoWhitespaceBefore check

Add to checkstyle NoWhitespaceBefore check configured
to check no whitespace before semicolons.
Also fixed code in all places that failed following this check addition.

Change-Id: Id78dbdf179c3d8c8b8cad0e31d71b3bc5f87da90
Signed-off-by: Alissa Bonas <abonas@redhat.com>