Make sure uploaded MasterFiles have go+r permissions.
Merge pull request #44 from avalonmediasystem/bugfix/vov-1429

Make sure uploaded MasterFiles have go+r permissions.
Fix chmod code to support ActionDispatch::Http::UploadedFile
Only change permissions if Filedata exists
Replace localhost with Avalon host name when sending URLs to clients
Add base extension back to .m3u8 files
Create NU specific deployment branch