Adding struct and Python support to gendox; adding retcodes.py; fixing build-infra README