Support for clearstatcache and stream context options

Add support for clearstatcache function and fixes up the issue related
to the empty list of context options passed to the stream wrapper when
registering it from DAV client class.