Fixup Qt 4 frameworks during hdiutil-codesign for compatibility with GateKeeper in OS X 10.9.5 / 10.10

GateKeeper in OS X 10.9.5 / 10.10 has stricter checks which
reject the Qt 4 framework bundles.

This commit adds logic to hdiutil-codesign to remove files from the root
of the Qt 4 framework bundles which should not be present and add
/Versions/4/Resources/Info.plist files and a /Resources symlink.

MD-20425
QTBUG-23268