Rewrite DialogUnderlay

Rewrite DialogUnderlay, add manual test, and remove dojo/window and dojo/on dependencies.

This came about because I'm trying to remove dojo/core dependencies from delite.   And this is the part that can be done w/out jQuery.

DialogUnderlay still needs a functional test, but perhaps that should be delayed until the DialogLevelManager
is ported too.