WL#6510: Print cost and amount of data processes in EXPLAIN JSON

Status: Complete

To provide to a user a better view on the query plans we can enhance JSON
EXPLAIN by printing following info:
.) total query cost
.) cost, per table
.) amount of data processed - (# of rows) * (record width) in G/M/K

This will make it easier for a user to see the difference between good and bad
plans.

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

http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-2.html