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 line endings
Squashed commit of the following:

commit a1db833d42386fd29376f9d456da87f8603c9183
Author: Lluis Martinez <lluismf@gmail.com>
Date:   Fri Sep 19 21:09:56 2014 +0200

    Removed addProxyPrivileges not needed. Starting modules from controller
    uses new sort method.

commit ffde3c99f0c82a0d8dde150f91feaf00766b3184
Author: Lluis Martinez <lluismf@gmail.com>
Date:   Thu Sep 18 23:02:07 2014 +0200

    TRUNK-4487 Module architecture fails to populate aware_of modules in
    ModuleClassLoader if they start in the wrong order
Unit test for the Graph class
TRUNK-4360: Links formatted incorrectly in help.jsp
revert changes to allow multiple identifiers with same identifier types TRUNK-4293
TRUNK-3717 Display the inherited roles when searching for users by role under User Management
TRUNK-4044 - EncounterType and EncounterRole names must be unique
Changed @since version from 1.10 to 1.11 - TRUNK-2069
Merge pull request #1121 from nithyagubbala/TRUNK-4360

TRUNK-4360: Links formatted incorrectly in help.jsp
TRUNK-4322 - Simplified error message format

Applying auto format changes
Merge pull request #1114 from jkondrat/TRUNK-4044

TRUNK-4044 - EncounterType and EncounterRole names must be unique
Merge pull request #1129 from kkaczmarczyk/TRUNK-3717

TRUNK-3717 Display the inherited roles when searching for users by role ...
Dropping foreign key on patient.tribe - TRUNK-4492
TRUNK-3856 More indentation on location hierarchy simple widget
Merge pull request #1125 from jbuczynski/TRUNK-3856

TRUNK-3856 More indentation on location hierarchy simple widget
TRUNK-4418 - Fix random failure of ModuleActivatorTest
added warning for short patient form and patient form
Merge pull request #1071 from harsha89/TRUNK-4293-additional

revert changes to allow multiple identifiers with same identifier types TRUNK-4293
Reverted changes in openmrsSearch made in the fix for TRUNK-3833