Use absolute paths for files and directories in .gitignore

Since plugins could be using filenames mentioned within the gitignore file (e.g., config.php) it is advisable to use absolute paths.