BufferedLogs;Bug in client config; Lock in LogsClient

Implemented buffered logs
Put a lock in the LogsClient to improve ordering and decrease failed
requests.
Bug caused RegionEndpoint setting not to be used.
Updated AWS.