Overall improvements to the library.

Renamed .val to .value for string values
If an object has only a string value, the object doesn't have the .value property
Changes the way xml responses are parsed