Add JSON support:

 - rpc extensions to support both XML and JSON requests and responses
 - net support for a Eureka connection using JSON or XML
 - net support for marshalling and unmarshalling of the apps, app and instance structs
 - custom unmarshallers and intermediate wrapper structs to deal with nasty Eureka JSON
 - updated existing net tests to test both XML and JSON
 - added new sample-driven tests for JSON unmarshalling. (tricky to get that working--tests were a lifesaver)


I pulled this one into a separate function, but it is only used in one place so far.