Add close on exec

This fix adds IO#close_on_exec? and IO#close_on_exec=.
If FD_CLOEXEC is not defined, these methods returns ScriptError. The mruby does not have NotImplementedError. Thus, I use its parent class(=ScriptError) in the CRuby.