* Fix warnings when executing 'tox -e docs'.
* Fix consistency for expressions of REST APIs.
* Remove 'json' in some code-blocks
because the contents include comments
so they are not in accordance with JSON format.
* Add the '-W' option in the sphinx-build command
for the docs target.
Change-Id: Iaaa4e2444030622539a61055e114a649466be497