Working waiting list and email/name settings

Waiting list now updates DB and adds contact details to booking user's
DB entry.

Zero spaces shows on classes.php even if there's a queue, but queue
number displays on waiting list form.

Change stored name and login email works on settings.php and
newemail.php.
Update password still not quite right.
Working update password and wait list

Just need to send emails and add logic to display waiting list position
on myclasses.php