Allow custom embedding of relations

this patchset enables the `embed_relations_custom` option for generator config files. This option allows certain relations to be embedded, but only if the embed request parameter is set by the caller.