Added waitForDialogToOpen as requested by issue-369
Bugfix for clickLongOnScreen, issue-343
Made TIMEOUT public as requested by issue-358
Javadoc update