Fix Windows instdocs.bat script

* Move gitignore rules into the documentation folder
* Add Windows dependency files (sed.exe, dlls)
* Add skeleton files docs.js, summary.ejs (not sure their purpose)
* Script now checks for java executable in path, and exits if not found
* Script automatically determines ROOT directory name