Added a script to check copyright presence

to use with the pre-commit hook
Added pre-commit hook script
Don't use GIT_DIR variable

it's not defined during a rebase but we can assume the pwd is the repo
root
moved and indented a function
refactored creation.php using alternative if syntax
added a redirect function
display error in case of file creation failure
added an init.inc.php file
added button to retry
redirect to creation.php from index.php

if the db config file is missing, redirect to creation.php
to create it
properly escape strings in config file using var_export
safety check
test the db params before writing the file
make sure we include init only once
added Db class and autoload function
use Db class to test db connection
removed closing ?> tag in config file
added sanity check
fixed warning
in case of error during tables creation, show it

+ added Db.execute method