Check for WP_Error in getPost

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2014 f69abe3c-2ee2-4550-9a6d-17bd458115be
Allow passing in "default" for fields

This means that instead of having to know what the internal default fields are,
you can just add fields to them (e.g. fields[]=default&fields[]=post-extended)

See #290

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2015 f69abe3c-2ee2-4550-9a6d-17bd458115be
Ensure our permission errors follow the same style

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2016 f69abe3c-2ee2-4550-9a6d-17bd458115be
Add support for raw data fields if the user is authenticated

This is a first pass at handling #281, as we need it for writing (#265)

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2017 f69abe3c-2ee2-4550-9a6d-17bd458115be
Add creation/updating support

This is basically a conceptual port of the insert method from the XML-RPC API,
but rewritten from scratch. It's also a huge method, so this will need extra
auditing later.

Fixes #265

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2018 f69abe3c-2ee2-4550-9a6d-17bd458115be
Wrap posted bodies in a data key

Fixes #291

git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2019 f69abe3c-2ee2-4550-9a6d-17bd458115be