Improved build matrix

Added python 3.4.
Added travis_retry in order to avoid build failures due to network failures.