WL#12360: Add an option to allow server quick settings validation.

Affects: Server-8.0   —   Status: Complete

Prior to 8.0, 'mysqld --verbose --help' was used to verify whether the server
configuration settings was valid. Running mysqld --verbose --help would result
in an error if the configuration was invalid. For example:

In 5.7:
./sql/mysqld --verbose --help --foo=bar
To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --verbose --help'.
2018-08-14T05:13:46.500953Z 0 [ERROR] Aborting

In 8.0:
./runtime_output_directory/mysqld --verbose --help --foo=bar
To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --verbose --help'.

As seen above there is no error reported in case of 8.0

Pasting the snippet from bug page:
A proper option for validating the configuration would make it simpler for
packaging, Docker images etc. to be able to quickly detect bad settings and
inform users.

Goal of WL
==========

Introduce a command line/configuration option 'validate-config' which allows
users to validate their server configuration settings.