refs #16654. Improve the resize method doc and clean a little bit the code.
fixes #16659. Allow optional duration property to set the transition duration. If not set (or 0) use the existing default durations. Take the opportunity to move from dojo/_base/Deferred to dojo/Deferred.
fixes #16286 fix one additional problem with the cell color picker, it was getting a js exception when trying to set a color on a cell in a newly added table because it was missing a check for editor.document. !strict