#994 PLCgen: generate code/type dependencies file
Adds creation of a dependencies text file between declared types for S7 systems.
There is a big fight between "declared type" and "derived type" going on. It looks like the winner is going to be derived type, but that changes ripples through much code, so I prefer not to do that here, but in a second patch.
Closes #994 (closed)