fixed null comparisions in azure rest client and changed the
ExecuteOperation method to be able to called with options and return the
last result