Activate several Checkstyle modules

Activate the Checkstyle modules WhitespaceAfter, TypecastParenPad,
ParenPad, MethodParamPad, NoWhitespaceBefore, NoWhitespaceAfter,
EmptyForIteratorPad and EmptyForInitializerPad.
Activate Checkstyle module GenericWhitespace and fix issues
Update Java formatter and Checkstyle project settings