Fixed DebugKit plugin install script, and added its directory to .gitignore.
Fixed database access granting script. Working on tmp folder creation script.