Implemented property filter in cmislib; folder unit tests running clean

git-svn-id: https://svn.apache.org/repos/asf/chemistry/cmislib/trunk@1595096 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/cmislib/browser/binding.py b/src/cmislib/browser/binding.py
index c1d0fd1..57f43e2 100644
--- a/src/cmislib/browser/binding.py
+++ b/src/cmislib/browser/binding.py
@@ -174,19 +174,21 @@
         """
 
         if self._extArgs:
-            kwargs.update(self._extArgs)
+            self._extArgs.update(kwargs)
+        else:
+            self._extArgs = kwargs
 
         byObjectIdUrl = self._repository.getRootFolderUrl() + "?objectId=" + self.getObjectId() + "&cmisselector=object"
         self.data = self._cmisClient.binding.get(byObjectIdUrl.encode('utf-8'),
                                                    self._cmisClient.username,
                                                    self._cmisClient.password,
-                                                   **kwargs)
+                                                   **self._extArgs)
         self._initData()
 
         # if a returnVersion arg was passed in, it is possible we got back
         # a different object ID than the value we started with, so it needs
         # to be cleared out as well
-        if kwargs.has_key('returnVersion'):
+        if self._extArgs.has_key('returnVersion'):
             self._objectId = None
     
     def getObjectId(self):
@@ -664,12 +666,13 @@
          - includeAllowableActions
         """
 
+        '''
         if kwargs:
             if self._extArgs:
                 self._extArgs.update(kwargs)
             else:
                 self._extArgs = kwargs
-
+        '''
         #TODO why is quoting the path required for the browser binding and not for atom pub
         #on inmemory 0.9?
         #TODO maybe we should quote all urls in the net library instead of here
@@ -2439,7 +2442,7 @@
         """
         if kwargs:
             if self._extArgs:
-                kwargs.update(self._extArgs)
+                self._extArgs.update(kwargs)
 
         typesUrl = self._repository.getRepositoryUrl()
         kwargs['cmisselector'] = 'typeDefinition'