Window Events

Added the events sizemodechange, activate and deactivate to XULBasicWindow
Added static XULBasicWindow::$STATE_MAXIMIZED, STATE_MINIMIZED, STATE_NORMAL and STATE_FULLSCREEN
Added the property XULBasicWindow::$windowState
Added documentation to XULBasicWindow
Removed an unnecessary initialize function
Added sizemodechange event to XULDialog
Moved the event handlers of basic XUL events to a single function
Merge pull request #28 from sitefusion/feature/WindowEvents

Window Events