Post By Email: declare static function

Fixes PHP warnings of non-static method called dynamically

`PHP Strict Standards: call_user_func_array() expects
parameter 1 to be a valid callback, non-static method
Jetpack_Post_By_Email::module_toggle() should not be called statically in
/wp-includes/plugin.php on line 470".`
Languages: Add translations for 3.0.
Bump versions for 3.0 release.
Fix typo in Related Posts module description
"effecting" -> "affecting"
Merge pull request #570 from lchski/related-posts-typo

Related Posts Module: Typo in “Learn More” Description
Merge pull request #564 from jeherve/pbe-static

Post By Email: declare static function
Bump the stable tag to 3.0
Bump master to 3.1-dev
AtD: Use WPLANG as default language in Jetpack.

Merges r97521-wpcom.
* Fixed bug outlined here - https://[private link]#comment-14570
* explode now only divides into 2 separate parts meaning its fine to use colon in text
* Removed using the filter 'the_content' when parsing the post content to get feedback meta data - http://[private link]
* Store parsed meta data in static array to cut back on processing

Merges r97418-wpcom.
* Fixed bug outlined here - https://[private link]#comment-14570
* explode now only divides into 2 separate parts meaning its fine to use colon in text
* Removed using the filter 'the_content' when parsing the post content to get feedback meta data - http://[private link]
* Store parsed meta data in static array to cut back on processing

Merges r97418-wpcom.
Infinite Scroll: use sane priority for `wp_footer` output

Unnecessarily-high priority is unnecessarily high. We only need to ensure our callback fires after Core prints its footer scripts.

See #6588.

Merges r97389-wpcom.
Infinite Scroll: accomodate Core's media player

Before initializing Core's implementation of the 'MediaElement.js', ensure the library itself is loaded. Otherwise, errors result and the media player isn't shown.

Fixes #6588.

Merges r97395-wpcom.
Infinite Scroll: accomodate Core's media player

Before initializing Core's implementation of the 'MediaElement.js', ensure the library itself is loaded. Otherwise, errors result and the media player isn't shown.

Fixes #6588.

Merges r97395-wpcom.
Infinite Scroll: bind `setTimeout` handler properly so we don't need to reference the singleton.

Thanks to @miguelcsf's excellent explanation of 'this' in the context of `setTimeout`, I don't need to reference the IS object directly via the global conext. Huzzah!

See #6588.

Merges r97398-wpcom.
Infinite Scroll: ensure Core's media players are initialized with each IS load, but only initialized once

r97395 added special handling for Core's ''MediaElement.js''-based players needed by incoming post sets. That changeset, however, failed to account for the situation where players are present in the initial set of posts and in subsequent sets of posts loaded by IS. This changeset ensures that all players, regardless of when they're added, are initialized.

''MediaElement.js'' doesn't like it when already-initialized players are re-initialized, which complicated this changeset somewhat. Re-initializing initialized players causes them to break completely, which is why we unbind and rebind the custom initialization.

This changeset also causes IS to pass the response object when triggering its `post-load` event, as suggested by @bradyvercher in https://github.com/Automattic/jetpack/pull/532. Doing so allows the Mejs initialization to bail early when there are no incoming players to initialize.

Fixes #6588.

Merges r97399-wpcom.
Infinite Scroll: remove superfluous whitespace introduced in r97399.

See #6588.

Merges r97400-wpcom.
REST API: launch CORS support

* adds support for whitelisting domains that can be used for cross-origin requests when using the API from javascript
* adds supoort for implicit oauth with an 18hr expiry for the tokens (the time may change later)

see https://[private link]
props justin, mdawaffe, stephdau, apeatling for reviewing the code

Merges r97411-wpcom.
Media Extractor: make use of the featured thumbnail if one is present as part of the images that are passed in as part of the summary. Also fix a small bug with the `extract_images_from_content` function not using its arguments properly.

see https://[private link]

Merges r97074-wpcom.
Sharing with Twitter: Remove the 'via @jetpack' string that is appended to tweets

With the addition of the Twitter Cards the Twitter Sharing feature inadvertently began taking
on the default of 'via @jetpack' when using the Sharing with Twitter button. This is a little
hack that will resolve the problem until a more complete solution is found. Closes #573