AUI-799 window does not fire event unload
AUI-799 Build
Merge branch '1.0.x' into pull-request-130-AUI-799