Add target/ and IDEA / OSX dotfiles to gitignore.