I've been thinking of my own way to do something similar, but this setup seems (after reading the first part and looking over the rest) too easy to screw up and do something dangerous with a lot of electricity for me. Proceed with caution.
@cscru There is a 240V kit version of the PowerSwitch tail available.
however, i had added the disclaimer because others might be facing a different situation and therefore they are warned.