Sets up the .gitignore file

- Ignores the WP codebase directory
- Ignores the environment-specific config file
- Adds the data directory (to avoid errors when attempting to write to it)
  but ensures that its contents (other than a dummy .gitignore file) are never
  tracked