Added resize helper to ControlSelection logic and changed the default resize mode for images to be proportional.
Fix bug to fire postprocess and other save events right before removal/unloading

Fixes issue possibly introduced in 8a0136c0ed where editor.removed is set to true
before it runs save().  This blocks postprocess and other events from firing
properly during the save.

For instance, the default content '<p>&nbsp;</p>' would remain after running
tinymce.remove() instead of being cleaned up.
Cleaned up setAttrib code a bit and fixed a createHTML bug.
Fixed issue with documentBaseURL under the file protocol.
Fixed bug where table resizing wasn't unproportional by default.
Fixed so ListBox doesn't select menu items with undefined value for example submenu items.
Wrapped table plugin test logic in a closure function.
Fixed a bugs with table cell and image dialog and added unit tests for link/image dialogs.
Merge pull request #382 from wnyc/master

Fix bug to fire postprocess and other save events right before remove()
Added unit test for Editor.remove.
Extract insertBr() functionality into a proper "InsertLineBreak" editor command, so that behavior can be standardized across TinyMCE and e.g. invoked from an external toolbar button or menu item dedicated to achieving the equivalent behavior to typing shift-enter.
Added unit tests for the insertLineBreak command.
Fixed broken unit test for old IE versions.
Added support for drag/drop of images and fixed a Safari bug.
Added new "once" method to Editor and EventDispatcher enables since callback execution events.
Fixed so it's possible to pass in an optional arguments object for the nodeChanged function to be passed to all nodechange event listeners.
Fixed so it's possible to pass in an optional arguments object for the nodeChanged function to be passed to all nodechange event listeners.
Fixed Gecko performance issue with source dialog.
Fixed bug where paste keyup handler would sometimes fire before the pastebin got filled.
Added comment about keyup paste bin removal for IE.