Adding include_media_info and include_membership options

Adding include_media_info and include_membership options to metadata and delta (where applicable). Tried to mimic existing code conventions as much as possible.