Respect $wgApiFrameOptions in formatted API output mode

This restores the pre- d25cb992 behaviour. Apparently UploadWizard's
flickr module relies on this (Which seems rather wrong, but
regardless I still think api handling of $wgApiFrameOptions should
extend to the "fm" modes.)

Note: If $wgBreakFrames is true, then frames will still be broken.
Although this is a change from prior behaviour, it makes sense
to me that $wgBreakFrames would not allow the human readable output
of the API be frammed.

Bug: 72340
Change-Id: Ia61a4698f7044acfcd7339207590d9333f4100cb
(cherry picked from commit d94e6411a5f7a0cb6f3ef2c67a4867dc3828cb7d)
Update UploadWizard submodule

New changes:
    Fix trivial error in Firefogg upload handling
    I8d1ecca8f5858ed421066fa0de2e088b9b00810c

    Upgrade FDT to use promises instead of old syntax
    Iaf20c08a025039402e498baa24c01fb9e55c4e6b

Change-Id: I0d87e33940739a5ae5b046487ba79d8b3c4537d2
Merge "Respect $wgApiFrameOptions in formatted API output mode" into wmf/1.25wmf4
Merge "Update UploadWizard submodule" into wmf/1.25wmf4