move query_config code to roverlay/
genfiles.sh helper script

Recursively converts template files from <src tree> to real files in <dest tree>
(using "query-config --from-file ... --outfile ...").