ast: put r5js.Ref in its own file (even though it should not really exist).