Ported from AWS SDK to AWS SDK Core

Ported from AWS SDK to AWS SDK Core. This removes the dependency on Nokogiri which makes installation significantly quicker. I have also fixed the region handling, removing the hardcoded locations. Also fixed issues with the constants and missing metadata handling.