Merge pull request #799 from skpcharles/master

More changes on s3 upload for resource images
AverageTimeSpent field inserted
Merge pull request #802 from mohankumarc/master

AverageTimeSpent field inserted
More changes on s3 implementation for resource image