WIP: Fix travis build file.
Add latest RC builds for 4.x
Backport install generator 4.1 spec from 3b4a78d03
Backport pull request #1022.