WL#5869: Optimizer cost: use Cost_estimate in range optimizer

Status: Complete

Cost is currently represented in two ways in different parts of the MySQL Range
Optimizer:

 * double cost  : the sum of disk lookup cost, CPU comparison costs etc.
 * Cost_estimate: cost represented in "cost estimate" object in which CPU, memory,
                   and disk costs are kept separate.

This WL is for moving from the first representation to the Cost_estimate
representation in the MySQL Range Optimizer

User Documentation
==================

No functional changes. No user documentation required.