Added Python 3.4 and PyPy to the build matrix.

Also use travis_retry instead of --use-mirrors in order to prevent build failures due to network issues because --use-mirrors is deprecated.