Supported O_CLOEXEC for os::open on all platforms.

Review: https://reviews.apache.org/r/26715
Added a protobuf::append function.

Review: https://reviews.apache.org/r/26799
Added a protobuf::append test.

Review: https://reviews.apache.org/r/26800