cleanup unit test prefs

force reset of unit test preferences

reuse test window for DocumentCommandHandlers-test

separate in and out of project save as tests

add jasmine global

match NodeConnection timeout for unit tests

free test window variables before closing the test window

code review comments

code review comments

jsdoc cleanup
Merge pull request #4563 from adobe/jasonsanjose/clean-unit-test-prefs

Unit test preference cleanup, reuse test window for DocumentCommandHandlers-test