Update sample_tools.py

Enhance discovery.py's init() function to support using a local discovery document. This is useful when the discovery document is not accessible via URL (e.g. for non-public APIs).
Update sample_tools.py
Updated docs
Use 'with' block to open discovery file; updated docs
Use 'with' block to read local discovery file
Merge branch 'patch-1'