Update to Java 7
Adds the --git-dir option to the logical commands instead of the
LogicalApp in order to be available for the final user.