Modify _verify_response to validate response codes.

The method will now take a response code as an additional
parameter and will validate it against the actual one.
Fixes bug 1156684

Change-Id: Idba3f54ed50b359d9230707fb45e7c5ea68e6b7d
Fix SecurityGroups XML sample tests

Fixes bug 1157521

Change-Id: I38ad52e0720feea37e8dbda8ad9c29162842c8f1
Merge "Modify _verify_response to validate response codes."
Merge "Fix SecurityGroups XML sample tests"
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp