Fixed UI tests

Separated SparkUiAccess into Ui and Dom classes (to remove possible circular references). Added mousedown and mouseup to ClickElement handler to fix test case. Separated onTransitionComplete handler from actual transition event. Fixed 3 tests and removed disabling of a fourth one (so that it tests locally as we as headless). Added flag to getProjectLocation so that we can forego the project dialog if no root has been selected.

This should fix #3622 and #3302 

@devoncarew @ussuri