Set cache expiry time on discovery document.

refs #1922
Cache discovery document in ~/.cache/arvados/discovery/.

refs #1922
Merge branch '1922-cache-discovery-python'