Update get_report function to accept dir parameter

Add additional optional parameter to get_report to allow a directory to be passed in.  Default to the current directory.

This will allow 3rd party plugins to use this function to extend the reporting.  Currently this can only include files in the woocommerce plugin directory itself.