.travis.yml: install Twisted explicitly to work around #2249.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
.travis.yml: Make sure that update_version has enough history to see the last release tag.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>