Save install options to install_options.json instead of updating insall_options.rb.
Auto append the value of the --plugindir of install.rb to Config.instance.libdir
and make the "libdir" in the config file optional.