REST API: Update Plugin endpoint.

Capture the output in case something unpredicted gets there.
TESTS: REST API: Add Jetpack Endpoints test file.

+ Add a test for the update_plugin method.