fix for build error in integration test random.cpp

build error due to a clash between #define min in spark wiring and std::min and other defines in the STL that use the word `min`. I don't know why this suddenly broke, but juggling the header order fixes it. (A long term fix is to remove all the #defines in our wiring headers - these should ideally be function templates so they are scoped declarations.)

Added return value to SparkParty::print(char w);