SfxDispatcher: move implementation details out of header file

Change-Id: Ia831da45c00554086dc692997130688c0b3e28f5
sfx2: SfxItemPtrMap is used only in shell.cxx

Change-Id: I9f76a114fcdf761ddaaf40666e4330d20ca72b98