DijitRegistry: add proper resize handling

This change has been waiting to be dug up and committed properly for a while...  it makes the DijitRegistry extension honor the `changeSize` argument to `resize`.