Ensures that during _bulk_docs, if channel access or roles have been changed

...the current calling users channel or roles caches are invalidated.
I think an error here isn't serious enough to cause the function to return an error, since it's already created the new revision. Telling the client the request failed would probably cause more trouble... Best to just log a warning and continue.