Move checkAlreadyUsedMail to lib/Util. Rename it

Now it can be used from other www/ pages, such as
newUser.php
Use checkIfAvailableMail when registering a new user

Now email addresses are checked before letting an user register
an account.