Revised X10 support for serial execution in X10 (most code are borrowed from the Java support in ROSE)

Since I did not know which code handles to enable X10 conditionally, I tentatively commented out. I will fix this, thank you.