Add .gitignore.
Add some missing directories to web/js/domreplace preventing clean build.