add templates/ folder to distribution
fix typos, add helper methods, update default values
rename paymentrequest to withdrawrequest
fix percentage, minor fixes
fix syntax & runtime errors
move affiliate logic to partner app
move affiliate views and forms to affiliate package