Add $slug variable in case EDD_SLUG has been changed

- fixes links in widget going to 404 page when EDD_SLUG has been changed from the default of 'downloads'
Add $slug variable in case EDD_SLUG has been changed. Thanks to @sumobi.