rmdir NOTEMPTY check only supported server-side by posix backend, so do a check for other backends. Add the directory entry in CDMI list_bucket so that the behaviour is consistent with S3, and dir_is_empty function does the correct job.