Project settings

Use Java 7, enable save actions, set up and apply formatter rules, compiler warnings, and Javadoc checks, enable m2e Maven integration.

Pascal, could you review and merge? I tried to make small commits to keep the actual settings and their resulting code changes comprehensible.