Bug 975708: Fix jboss java7 marker regression

Due to a regression introduced by c3e63de3c7f84cd62df99634dc58371cfd19fd6c, the initial java7
configuration was not being updated properly during setup. Newly created apps using the buggy
cart will default to java6 until the next Git push, at which point java7 will be correctly
enabled.

Fix setup logic to correctly configure java7 for new applications.