Enable s3 as a sincedb target

We are running logstash on Heroku in a custom buildback configured worker dyno. It pulls from S3 and pushes to Elastic search. On Heroku, the local filesystem can only contain ephemeral state so we need to store the sincedb info somewhere else. This patch enables s3 to be used as the sincedb store.