Added client side timeout to the connection object so the client can timeout on sync calls.  This is good for client side fault isolation during server-to-server communications
Added a method on XenAPIObject to check if the object is in fact null
Merge pull request #11 from kc284/master

CP-7101: Ensure the SDK is using the .NET 2.0 version of CookComputing.X...
CA-124147: Quick fix - added originator to the Session.loginWithPassword calls to fix broken tests.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
CA-121354: Corrected signature of Event.from(). Instead of Set<Event.Record>,
it now returns a new class, EventBatch, exposing the events, token and validRefCounts
fields. Also updated related test.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
Merge pull request #10 from xueyuan/master

Client side connection timeout and a check for if an object is null.
Merge branch 'master' of github.com:xapi-project/xen-api-sdk
CA-121355: Some improvements to Alex's commit; connection timeout should be
configurable like the reply timeout; added one more constructor overload; some
documentation corrections.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>