Speedup build start on travis

Do 2 things: use container based infrastructure, and persist ivy, maven and sbt data.