Organizes imports.
Updates versions in pom.
Specifies test source and target Java versions.
Fixes bugs revealed by maven project reports.