Removed the third exit condition "0" as the only two appropriate exit
conditions are "-1" failure and "1" success.
Get the number of tasks to submit from work_queue_hungry() and use that to
submit a new set of tasks.
Change name of SubmitAnnotateTasks() to clearly reflect its purpose.
Merge from default branch.
Merge with default (created accidental head).
Updates to to-do list.
Clean up and modularize the logic for determining the initial set of tiers to
submit and the retrieval of tiers through WQ wait.
Create and use a function that determines how many tiers (WQ tasks) to submit
after the intial submit.
Add function for deleting Work Queue instance.
Fix the information printed for users.
Fix bug where we are submitting more tiers for annotation than are present.
Missed fix for previous bug where we were trying to annotate more than what we
had.
get_initial_tiers_to_submit() must return the number of tiers and not tasks.
Also, it must use ceiling to determing the number of tasks and not floor.
Fix broken logic for submitting more tasks when WQ is hungry.
Fix $annotated_tiers to correspond to number of processed tiers.
The base file locations are altered for remote execution when we specify them.
This needs to be done for each tier which we don't do currently. This fixes
that.
Apply fix similar to the last once commited in the decomposition branch.
Added reference and derefences to pass the tier variable by reference instead
of by value so that we can write it out to disk one time.
Fix bug where absolute paths were still being encoded in the tier files.
Fix a_db files so they don't point to AFS absolute paths.