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
Merge pull request #5 from warseph/master

Changes the way results are parsed