Added Logic for 2 Legged oAuth

Added Logic for 2 Legged oAuth
generateTwoLeggedAuthHeader(String httpMethod, String
endPoint,ServletConfig config)