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.