editor: Remove all unnecessary header inclusions in headers.

By moving most of the needed includes in the .cpp files, we make
dependencies clearer and avoid rebuilding too many files each time a
header is modified.

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