Enforce Java 1.7 during the release

Add enforcer rules to ensure that only Java 1.7 is used during the
release.

Fixes gh-712