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

@michihirohorie Don't worry, I already patched this and it is integrated in rose-compiler/rose:master =)