Card controller issues

Take control of the shared piles for scenario and player setup
Changes to the return value from wd()

The save dir is based on this and now copes with new path format as well
as the old one (for when they fix it in OCTGN)
Updates to work around OCTGN issues in .267