small fix: keep params in redirect url
added param to optionnaly allow local IP (used for debug purpose, for example)
merged YosLoginTools into yoslogin.class.php, to only have two files to include to a project (the other one is srand.php)
FIX syntax error on getIpAddress
- forgot to handle the "reenter password" case
- added example declaration (commented) for local use