More minor Checkstyle issues
- Created Javadocs.
- Created constant.
- Replaced asserts by logger calls.
- WorkflowUtils: added hidden constructor.
- checkstyle.xml: added -2 as an ignored magic number.