Implementation of map_meta_caps for BP Docs custom capabilities

This will be the basis of a refactor of these capabilities to use current_user_can()
rather than bp_docs_current_user_can(), allowing for better testability