Add python bindings for resource monitoring API and APIs introduced in
hierarchical WQ commits.