Revert changes to python-bindings from "Move include of config.h from source to some header files"
This MR reverts changes introduced to python files in the MR !1313 (merged), since those are used to generate code in downstream modules where header files can not be assumed to have all config files includes already.