magit-revision-insert-related-refs: new variable

This is intended as a temporary solution to the problem that `git branch
--contains` and `git branch --merge` can be very slow when there are
many branches.  This variable will likely be replaced by a `git-config'
variable, once Magit starts using such variables for "repository-local
variables".  This fixes #1630.