PayPal log
Tweak account options
Generate usernames and passwords.

Closes #3085. Closes #3155. Part of #3248.
Localise when registered
My account registration, made registration process DRY, added notification hook for new accounts. Closes #3085
View order page endpoint
Get rid of un-useful options.
Better account edit Closes #3168
Link orders from admin (customers page) Closes #3248.

This function can also be hooked into registration if it needs to be
automated.
Keep counts synced