Adjust travis config to update package lists before installing dependencies
Merge pull request #5621 from chrisforbes/travis-update-before-installing

Adjust travis config to update package lists before installing dependencies
Added ability to make upgrades