Update app creation script to be more efficient

TODO: error about keystore is thrown when starting tomcat,
probably due to missing files that are not copied by the ant
task 'copy-clean-tomcat' yet.