Move firefox addon to after_prepare

This allows use of `sudo`.

We also validate the value given from the user, and abort if
it doesn't match the expected pattern.
Merge branch 'ha-bug-symlink-firefox' of github.com:travis-ci/travis-build into ha-bug-symlink-firefox