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-4418 - Fix random failure of ModuleActivatorTest
TRUNK-4313: Displaying user friendly message when trying to save with empty description
Solved getName(Locale locale, boolean exact) simply calls getName() if exact = false and also added JUnit Test
TRUNK-4462: Change failed module's name from org.openmrs.module.xxx x-version to xxx x-version
TRUNK-4506: Heading of the admin page should use the localized message
Using correct error message code for - TRUNK-4044
Added Order.isStarted() and renamed isCurrent to isActive- TRUNK-4525
Cleaned up javadocs for methods that check the order status - TRUNK-4525
TRUNK-4355 - Create complex handler for storing and displaying video and audio files
Merge pull request #1156 from pmuchowski/TRUNK-4506

TRUNK-4506: Heading of the admin page should use the localized message
Merge pull request #1151 from SandeepRaparthi1/TRUNK-3705

Solved getName(Locale locale, boolean exact) simply calls getName() if exact = false,added JUnit Test
Followup fix for: Location of runtime properties file is a potential
security risk - TRUNK-3934(cherry picked from commit b73393a6605f8311d75b8839437694e43bdc85bd)
Merge pull request #1152 from rpuzdrowski/TRUNK-4462

TRUNK-4462: Change failed module's name from org.openmrs.module.xxx x-version to xxx x-version
Merge pull request #1140 from Tharunya/TRUNK-4313

TRUNK-4313: Displaying user friendly message when trying to save with empty description
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