get_post() safely handles $id, remove dupe error check
Update all instances of duplicate $id checks
Allow hijacking API requests
Handle CORS and OPTIONS requests
Access method map in PHP 5.2-compatible way
Remove var_dump
Merge branch 'master' into allow-hijacking-request
Merge branch 'master' into allow-hijacking-request
Renamed new_post method to create_post to match CRUD actions.
Bump to 1.1.1
Include stub for deprecated new_post method.
Update method name to create_post in post tests.
Merge pull request #374 from WP-API/issue-374

WP_JSON_Posts new_post method should be renamed to create_post
Rename new_user method to create_user to match CRUD actions.

Replaced new_user method name with create_user.
Added stub method with deprecated notice for new_user.
Update method name to create_user in user tests
Rename new_post route in custom post type class to match parent class create_post method.
Fix stub method name of what should be new_user
Merge pull request #377 from WP-API/issue-377

Rename CustomPostType::new_post to create_post
Revert test variable names in post and user tests.
Merge pull request #376 from WP-API/issue-376

Rename WP_JSON_Users::new_user to create_user