Committing the feature for CARBON-15041 for Kernel.
Merge pull request #74 from kasunbg/ghost-deployment-fixes

sucessfully commited the changes
Timestamp : Mon Nov 10 05:22:27 IST 2014
https://wso2.org/jenkins-pr-builder/job/carbon4-kernel/637/