Deduplicate ItemRepositoryFor<Context>::init()
Most of the init()
definitions were formatted as a single line. But
recent commit 21f74610 changed
.clang-format to forbid functions on a single line. So the planned
clang-format
reformatting of the entire KDevelop repository would touch
most of the duplicated definitions.
See also the commit message.