More source tree reorganization

The victims this time were:
* stream.h ->include
* type-generator -> tools   & split up a little
* bootimage generator -> tools
* system stuff

Also, I fixed the build after some RUNTIME_ARRAY changes I merged in from ReadyTalk/avian for ARM and windows (separately).  The powerpc breakage is own fault.