Refactor PropertiesRegistry._init_props() to share code.
Refactor PropertiesRegistry._init_props() to share code.

Instead of performing the same loop and properties modification in
several places in the same way, extract the loop into a separate helper
generator.

vslavik/bakefile,vslavik/bakefile,vslavik/bakefile