Business affiliate2

+ /api/affiliate
+ API testing supporting it
+ Several improvements to make it run smoother
+ 404 errors
+ Etc etc