Fix some incompatible interfaces

* `WP_HTTP_Response` should declare its properties
* `WP_JSON_CustomPostType` and `WP_JSON_Media` have some out of date
method calls
* Remove some dead variable assignments
Merge pull request #742 from WP-API/fix-646

Fix some incompatible interfaces