Added newline after all tasks to ensure here-document formatting
Fixed qbatch when no pbs jobs are currently running.

pbs_jobnames returns nothing if no jobs are running, but qbatch still
loop through a single line (of the empty string) in this case. A parse
error would occur. Now we ignore this bogus row.
mb xfm_path look up improvements (now checks default reg dir first)

xfm_path function now optionally checks the registration directory first
before using the specified base directory. This allows us to properly
generate temporary transforms only if they don't already exist in the
the registration directory.

Also, removed some dead code.
mb: voting not done if fused labels exist