Factor loader into a database storer and a batch loader

FWIW, my major gripe with goamz is that it returns implementations everywhere, which makes mocking AWS interactions incredibly frustrating when writing tests.