Use Rubocop for coding style checks

- Generated default config by `rubocop --auto-gen-config`
- Fixed each issue in a separate commit and enabled the check (many issues were auto corrected using `--auto-correct` Rubocop option)
- Added `rubocop` call at Travis

Submitting to SLE-12 branch to avoid conflicts in the future and make maintenance easier.
Also, the parameter is not documented, which may have played a role in the misguided "fix".