Added undeploy step before redeployment
Reverted compiler settings to java 1.7 because JavaEE 7 is not yet ready for 1.8