core: Add support for JSON to GDataAccessHandler
core: Add support for JSON to GDataAccessHandler

This includes initial code for detection of the Content Type of
received messages, and parsing JSON or XML depending on that.

https://bugzilla.gnome.org/show_bug.cgi?id=684920

pwithnall/libgdata,pwithnall/libgdata,GNOME/libgdata