Merge pull request #127 from tmatsuo/master

Implemented automatic caching for discovery documents.