* ext/psych/lib/psych/visitors/yaml_tree.rb: change output reference
  ids to be sequential numbers.
* ext/psych/lib/psych/visitors/yaml_tree.rb: fixing string quotation
  when dumping Ruby strings. Thanks Ingy

* test/psych/test_psych.rb: appropriate tests.

* test/psych/test_yaml.rb: ditto