Update to 1.7, use try-with-resources, and format.

Fell free to reject this commit due to formatting / other changes, but @treestompz insisted I make it.

This commit:
- Updates BungeeCountSync to BungeeCord 1.7.
- Changes groupId and artifactId for conventions.
- Makes use of try-with-resources statement for auto-closing.
- Formats code.