Revert removing of open_ended after top level plain scalar
Revert removing of open_ended after top level plain scalar

See also issue #60

Revert "This code is not needed and breaks tests"

This reverts commit 56400d976a1999156b1abfd674c3122843980260.

yaml/libyaml,yaml/libyaml,yaml/libyaml