Make randset more generic and return a const reference instead of a copy

Return a const ref instead of a copy for efficiency reasons.
Set log level and log file name for moses-ant-hillclimbing program
Simplify build_knobs::sample_action_perms
Log (fine level) action permutations