Update Login.php

creation of a database connection function
Update and rename db.php to config.php

group all config in the same file
Update edit.php
Update index.php
Update password_reset.php
Update register.php
Delete email_passwordreset.php
Delete email.php
Delete hashing.php
Delete email_verification.php
Merge pull request #152 from devplanete/patch-2

Update Login.php
Merge pull request #153 from devplanete/patch-3

Merge all configuration files of 2-advanced
info on SQL escaping
changes August 18th
changes August 18th (new config in 2-advanced)
some smaller code cleanings/code reformattings
small text improvements
Added logic to prevent mysql errors from being communicated as registration userId/validationId mismatch
Merge pull request #157 from skooge/develop

Added logic to prevent mysql errors from being communicated as registrat...
[urgent fix][issue #160] close cookie login vulnerability