Corrected several type specs
Removed 'key_conditions' opt from 'q_opts', since it's a required parameter
Extracted 'attributes_to_get_opt' and 'consistent_read_opt'
Updated to the newest DynamoDB API