Add support for ref-updated events.

Fix paramiko import problem.
Fix pep8 error.

Change-Id: I7098da304ddfca18dfcc6bf79369479a73c8ae94
5 files changed