Add functionality to limit no of backups

If max_num_backups is set in s3_config.yml, the deleter module sorts by date and deletes the extra entries. If not set, deleter is not run.

Not very experienced at writing tests so might need your help in that.