Add Python module and build files for it
Reworking and adding to builtin exceptions
Generate exceptions files so they include all Python exceptions

Had to flatten CMake structures to get the dependencies working
for the generated files; should maybe fix this someday, but a flat
structure is just fine for now.