qbatch now uses pbs_jobnames to get full job names
Added --reg_dir option, and fixed an afterok bug in mb's qbatch queue

--reg_dir option puts registrations in output/registrations by default.