Merge pull request #1747 from sumobi/process-purchase

Fix: new user email notification
Add category and tags to product endpoint
Merge pull request #1749 from TimothyBJacobs/patch-2

Add category and tags to product endpoint
Restructure of edd_register_and_login_new_user()