Add DynamoDB implementation of consent

If we promote the consent timestamp to be part of the hash key, we can still keep the timestamp attribute to avoid parsing.