Carousel: Switch slide when pressing back/forward buttons

Before this change, the browser's back and forward
buttons would update the URL with the ID of the
desired slide, but the UI would not actually
update.

The problem was that the `open` method was getting
called for `onhashchange` events, but it would do
nothing if the carousel was already activated.
This patch adds a new method that will switch the
slide even if the carousel is already open.
Update grunion-contact-form.php

$content need to be a string.
Add WordPress SEO Premium by Yoast

as per
https://wordpress.org/support/topic/disable-opengraph-in-jetpack?replies
=10#post-5538081
Merge pull request #514 from richardmtl/yoast-seo-premium

Add WordPress SEO Premium by Yoast
Merge pull request #415 from rads/rad/back-button

Carousel: Tie browser forward/back buttons to carousel controls when navigating through carousel's history
Merge pull request #513 from turtlepod/patch-1

Resolve string/array confusion around comment forms.
Carousel: advance carousel when activating browser's forward/back buttons

Since Carousel pushes URL fragments into the browser history, advancing back and forth through the browser history for Carousel using the browser buttons should trigger Carousel to change slides.

Fixes #6307. Props rads.

Merges r97029-wpcom.
Jetpack CPTs: make sure the portfolio, testimonial, and comic post types are registered during imports.

The post types are normally loaded if the active site's theme supports those features. During async imports,
some default theme is used which doesn't have support for these features, which means that these types of
posts are skipped during imports.

As these post types could be used on any dotcom site, and are also distributed with the Jetpack plugin,
making sure that these post types are registered during imports will provide a consistent import experience.

See https://[private link]

Merges r97058-wpcom.
Jetpack CPTs: make sure the portfolio, testimonial, and comic post types are registered during imports.

The post types are normally loaded if the active site's theme supports those features. During async imports,
some default theme is used which doesn't have support for these features, which means that these types of
posts are skipped during imports.

As these post types could be used on any dotcom site, and are also distributed with the Jetpack plugin,
making sure that these post types are registered during imports will provide a consistent import experience.

See https://[private link]

Merges r97058-wpcom.
Merge commit 'cf21349'
Grunion: bail out of `grunion_manage_post_columns()` early if we're not rendering a custom column type that belongs to Grunion.

Prior to this change, `Grunion_Contact_Form_Plugin::parse_fields_from_content()` was being called for each post inside any WP_List_Table.
As this method invokes the `the_content` filter, it was causing WordPress to unnecessarily render each post, including fetching oEmbeds.

In some edge cases, this hurt performance for posts that have a lot of oEmbed'd content, preventing the user from loading wp-admin/edit.php.

See https://[private link]

Merges r97112-wpcom.
REST API : Suggest : Mentions : Add optional avatar_size parameter and wire through remainder of API - see http://[private link]

Merges r97224-wpcom.
API : Add array cast to protect against bad endpoint definitions - see http://[private link]

Merges r97199-wpcom.
REST API: fix some inconsistencies in media handling

* centralize a single function for handling media sideloading, which gracefully fails if called in a non-upload context
* add missing request params for the Edit Post endpoint
* create/edit post endpoint: code for handling media was wrapped in `$is_new` so it wasn't working for edits

Merges r97200-wpcom.
Sharedaddy: fix a post's share buttons re-enabling themselves when a post is Quick Edited.

If a post had share buttons explicitly disabled, making any change to the post through Quick Edit re-enabled the share button due to a logic error in the save code.
This bug only affected wpcom, not Jetpack.

See https://[private link]

Merges r96936-wpcom.
Minileven: Add Jetpack Responsive Video support to make sure embeds are resized with the correct ratio, fixes #2372

Merges r17877-wpcom.
Media Summary: set the excerpt, word count and link counts at the beginning of the function. That way, those values are always returned regardless if the post has "special" content. This thus improves the excerpts generated for publicize services.

see https://[private link]

Merges r97073-wpcom.
Sharedaddy: Fix issue with width of icon+text custom buttons.

Merges r96981-wpcom.
Shortcodes, Flickr: correct variable used to check for legacy slideshow embeds.

It was introduced in r87507-wpcom, presumably a typo.

Merges r97103-wpcom.
Merge commit '2db3b06'