Code updates and cfgs for doxygen and sphinx
New discharge and inquiry tests

Change-Id: I117788f3626aa0eb4ac664bc95f7454012940e8a