Added script for testing XCAPManager

Ignore-this: f69aa29ef4d283414375b3b76dfbca99

darcs-hash:20100831143034-1e3d8-3718f6339b7c5e9fcabf87026265cdfbecfc223f
Fixed handling of SUBSCRIBE response error codes in XCAPManager

Ignore-this: c22089d538fba63a9f0cc55d44eab893

darcs-hash:20100831145009-1e3d8-62aac5cdfe0f3fe8a6e060001b45588b5ee29091