first steps towards new transitive linking

I started working on transitive linking and include directories, which
have the potential to make handling bundle interdependencies a bit
easier.