Initial Extras.php commit

Splitting plugin.php for core merge. See https://github.com/WP-API/WP-API/issues/571