Make reports and charts discovery easier

Extract the reports and charts definition to a new woocommerce_get_reports_charts() function so third party plugins can get easily the data.

Also add a string key to each chart so it's easier and more reliable to identify them, because order, name and function can change.
Merge pull request #3026 from MZAWeb/master

Make easier for 3rd party plugins to get reports and charts info