Add DB and RPC method doc strings to hook.py

add doc strings to hook.py

Change-Id: Id81164ac2895d31d5823292b622f1cc802d37bc2
Merge "Add DB and RPC method doc strings to hook.py"