AWS update

Use the new DynamoDB API, support secondary indexes.

Fixes #3.