Update the connection function to allow setting the dynamo connection to local

It also allows calling `connect_to_region` without the AWS access key & secret params, which you might want to do if using an iam instance profile on ec2 or using credentials in a .boto config file