additionally report warnings in the "check:syntax" task

like assigned but unused variables, unreachable statements, ...
Merge pull request #24 from openSUSE/warnings_at_syntax_check

Additionally report warnings in the "check:syntax" task