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 #10 from xueyuan/master

Client side connection timeout and a check for if an object is null.