Add post_test_hook and pre_test_hook for devstack gate as part of Infra integration

Change-Id: I8b8cef021804db8b856c1785ee547537e017a22b