TRUNK-4015: Application data directory should include web app name

Added feature to create different app data directory for different web apps as per the discussion in the ticket
Set log4jExposeWebAppRoot to false so to avoid webAppRootKey clashes per web app

Set default database name to webapp name e.g. test-deploy.war results into a database called test-deploy.
fix for JSESSIONID should be assigned after a user has been successfully authenticated  TRUNK-3938
Merge pull request #1006 from geoff-wasilwa/TRUNK-4015

TRUNK-4015: Application data directory should include web app name
Merge pull request #1160 from harsha89/TRUNK-3938

fix for JSESSIONID should be assigned after a user has been successfully authenticated  TRUNK-3938
TRUNK-2193 Changed quantity to strength
Fixed formatting
TRUNK-2193 Added comment to changeset

(cherry picked from commit 25dfa213fe6d1b7d395cc48d2fc3581e6bf48fce)