Introduce edd_redirect_canonical() to fix #2632 and to fix #2743
Merge branch 'release/2.2' of github.com:easydigitaldownloads/Easy-Digital-Downloads into release/2.2