Fixing ESBJAVA-2318 and making HTTPEndpoint work in a thread safe manner.

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@178674 a5903396-d722-0410-b921-86c7d4935375
Added oauth2endpoint webapp as a webapp,with AS side new modifications

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@178676 a5903396-d722-0410-b921-86c7d4935375
fixed ConnectorUtil parameters to return object instead of String

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@178677 a5903396-d722-0410-b921-86c7d4935375