Apply coding style fixes.
message!: Rescue ENXIO in case there is no controlling terminal.
Disable the workaround for the Ruby bug #8074 for Ruby >= 2.1.0.
Require libxml2 >=2.6.21 in which version xmlHasFeature() was introduced.
Warn if libxml2 is >=2.9.0.