Rework logic for setting threads in my.cnf

This patch updates logic for setting the following parameters
  * innodb_read_io_threads
  * innodb_write_io_threads
  * wsrep_slave_threads

When they are set to 0 (default value) number of threads will be
calcullated dynamically based on number of CPU cores but not higher
than 12.

Default number for paralell percona backups is decreased to 1.

Change-Id: I8510a2dc90f6bcce8e2f7e7ff2fd93853fdf665c
Related-Prod: PROD-24979
6 files changed