Add WC_Product::get_formatted_name()

For #2788
Add WC_Product_Variation::get_formatted_name()

For #2788
Deprecate woocommerce_get_formatted_product_name()

For #2788
Update woocommerce_get_formatted_product_name use

To use new WC_Product::get_formatted_name() function. For #2788
Update phpdoc
Patched the "woocommerce_downloadable_product_permissions" function to avoid fatal error if return value for get_product_from_item is false.
Updated to patch "woocommerce_downloadable_product_name" filter condition when attempting to filter previous title. Now provides previous context instead of current.
Updated to remove commented code.
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.
updated mijireh integration to work with page slurp updates
- no longer passing the HTML
- passing the page id for api notification
- catching the end of slurp notification to reset slurped page to private
Update product-image.php

Fix to correctly calculate $attachment_count
Change log: Fixes possible race condition between setting page to public and starting the slurp
cz lang update
Merge pull request #3042 from MarekRabas/master

cz lang update
Merge pull request #3037 from scarydakis/master

Fix incorrect CSS class being output in product image gallery
Merge pull request #3034 from benjaminprojas/master

Updated Mijireh integration to work with page slurp updates
Merge pull request #3024 from crowdfavorite/patch-downloadable-product-permissions-function

Patched the "woocommerce_downloadable_product_permissions"
is_product_taxonomy
Merge pull request #3025 from crowdfavorite/patch-download-name-multiple-file-filter

Updated to patch "woocommerce_downloadable_product_name" filter
Merge pull request #3026 from MZAWeb/master

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