Fix documentation build

Current implementation only works properly for the latest tag.

Change it so we can build documentation at any revision.

Change-Id: I8cc0e3ef449d8f861411ca86ba676a0f9c89009f
Bump requests to 2.4.3

Change-Id: I53aba2fa124d0f5b70d03521be919176b0e6bfda
Bump paramiko to 1.15.1 and pycrypto to 2.6.1

Change-Id: I58486c2a9f0ae29251edfd5221bf86743ddd81be
Bump pep8 to 1.5.7

And fix a couple of newly discovered warnings.

Change-Id: I835d16ed94f2e20f003a2aa0b0370483d02e7926
Restructure docstrings for better html output.

Change-Id: Ic935e8f85e2ad333677770746c15648ae5bac339