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

@michihirohorie This slipped by... X10 support is not enabled by default so these conditionals are required. What was your intention in commenting them out?