bcfg2: Add support for altsrc and templated paths

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>