Add some _types files that contains forward declarations.

This allows to remove the number of unneeded dependencies between
files. This has only been used on yggdrasil_editor so far.

Signed-off-by: Guillaume Clement <gclement@baobob.org>