Top Posts: add filter to control number of displayed posts
Sharing: prevent duplicate @ in shared Tweets

This used to happen because Publicize's Twitter Connection Data saves the Twitter handle with an "@"
Shortcodes: Add Instagram Shortcode.
API unit tests: commenting out a failing test.  will revisit later. right now we are focused on testing the api via .com
Related Posts: Add filter for `_enabled_for_request()`

Allow the return value of function to be filtered by
`jetpack_relatedposts_filter_enabled_for_request` this will allow related posts
to be shown on pages as well.

Example:

```php
function jetpackme_enable_for_pages( $enabled ) {
	if ( is_page() )
		$enabled = true;

	return $enabled;
}
add_filter( 'jetpack_relatedposts_filter_enabled_for_request', 'jetpackme_enable_for_pages');
```

Please note by default related posts will only return related content of the
same `post_type` so doing the above will only return related pages not posts to
adjust this see the `jetpack_relatedposts_filter_post_type` filter.

Resolves #1307
REST API: Fix needed capabilities for update and install plugins.

Use more specific `update_plugins` and `install_plugins`
API endpoints: Remove duplicate code
Plugin Modify Endpoint

Fixing a few error that was causing the endpoint to fail to recognize a plugin in the url path.
Plugin Modify Endpoint

Fixing a few error that was causing the endpoint to fail to recognize a plugin in the url path.
Merge pull request #1310 from Automattic/update/plugins-install-update-capabilities

Update/plugins install update capabilities
REST API: Enable support for custom post types in REST API

Since REST API theme loader is invoked after init, we must manually trigger re-register once the simulated init has been triggered from the REST API.

See: https://github.com/Automattic/io/issues/119

Merges r108923-wpcom.
Increase CSS specificity for Contact Forms in widgets

Props RCowles <contact@ryanscowles.com>
Authored on Fri Oct 31 17:26:13 2014 -0700
https://github.com/Automattic/jetpack/commit/c08bcef

Merges r109056-wpcom.
API: Move StatsD timing calls into WPCOM API file

Move the timers into a WPCOM only file instead of the common API file that's
also included in Jetpack.

Merges r109059-wpcom.
REST API: new v1.1 keyring endpoints

* Implemented helper function for getting all keyring token IDs for a specified user
* Cast numeric values that are part of the keyring object return to integers, for correctness/consistency
* Implemented `GET v1.1/me/keyring-tokens` which returns an array of all the keyring tokens associated with the current user. Filterable by site.
* Implemented `GET v1.1/me/keyring-tokens/$ID` which returns the specific keyring token with the provided ID, given that the token belongs to the queried user.
* Added tests for new endpoints

see https://github.com/Automattic/calypso-pre-oss/issues/1330
big props to codebykat who did most of this work, I just fixed some tiny things, polished and deployed

Merges r109034-wpcom.
Please don't use __DIR__ or other PHP 5.3+ things in code that will sync to Jetpack.

Merges r109061-wpcom.
REST API: Add /sites/$site/post-types endpoint

Necessary to emulate the Sharing options page outside of wp-admin.

See: https://github.com/Automattic/calypso-pre-oss/issues/1742

Merges r108902-wpcom.
REST API

Support page/menu order for pages in the REST API.
We need it for editing pages from newdash/calypso so that pages can manage their page order.

Merges r108910-wpcom.
REST API: Load theme functions from post-types endpoint

To enable loading of customt ypes

See: https://github.com/Automattic/io/issues/119

Merges r108922-wpcom.
Gravatar Profile Widget: Add a more sane max-width to the image. See https://[private link]

Merges r109024-wpcom.
Grunt / Compile Stuff