Moved OptionSpec to optional package.
Added utils interface for independence from JDK 8.