Support DynamoDB2

Numerous changes to support DynamoDB2, and its new method query_2. Hash keys can now be anything and not just latin