Adds ability to specify redirect location for files

Refactors .publish! method

Fixes deploy:s3:clear task

Changes bucket_write_options format from AWS::S3::S3Object to AWS::S3::Client

Includes minor refactorings and hanging whitespace fixes

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>