reuse test windows in integration tests for code hints, file index manager and live dev

fix jshint error

code review comments

optimize project rewrite for inlineeditor tests

fix failing inline editor test by forcing FileIndexManager to sync

replace closeAllDocuments with closeAllFiles

increase timeout for openProjectFiles

Use DocumentManager.closeAll() to prevent accidental usage of spies set in Dialog.showSaveDialog