Adding fix for REGISTRY-2220
Revert "Adding fix for REGISTRY-2220"

This reverts commit 58261cee22b94b38d9f9bc6f5852694487f5db4b.
Adding fix for issue REGISTRY-2220
deprecating file based persistance model in fixing CARBON-14744
deprecating file based persistance model in fixing CARBON-14744
Fixing CARBON-14482, Updated to set username to the CarbonContext in CarbonTomcatRealm.

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>
Modifying tests to use a custom valve and removing unwanted dependency from pom.xml

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>
Merge branch 'master' of https://github.com/wso2-dev/carbon4-kernel
fix for CARBON-14874
Merging changes from jayanga related to pull#40
Merge branch 'jsdjayanga-master' with pull#40
Merge changes from isuru udana for pull#42
Merge branch 'master' of https://github.com/wso2-dev/carbon4-kernel
Merge branch 'isudana-master' for pull#42
Merge branch 'master' of https://github.com/wso2-dev/carbon4-kernel
merging pull#35. changes from subash
Merge branch 'subash89-master' for pull#35
reverting changes virtual hosts on pull#27. this causing NPE is server startup and needs code review
Merge branch 'master' of https://github.com/wso2-dev/carbon4-kernel
reformatting code