bugfix: release the unfinished batch if the worker is contaminated

This is done by setting "self_burial" to 0
bugfix: jobs could not trigger MEMLIMIT events

(and probably RUNLIMIT as well)
The problem was in Queen::register_worker_death(). The code fetches the
current role, finalizes it, and then updates the worker table. The role
that is fetched from the database with fetch_last_unfinished_by_worker_id()
is not connected to any workers and later, when
AnalysisJobAdaptor::release_undone_jobs_from_role() needs to know the cause
of death and the number of work done by the worker, the role would load
another instance of the worker using the information currently stored in
the database, that is: before it has been updated.
Hence, the code was complaining that cause_of_death was not populated.
By associating the role to the worker, we allow the method to read the
existing information
Pulling in two bugfixes from version/2.1

  bugfix: jobs could not trigger MEMLIMIT events
  bugfix: release the unfinished batch if the worker is contaminated
fix warning "Use of uninitialized value in subroutine entry"
setting to 0 as per POD and Leo's request
always write the sequence to the current seqio - fix for creating lots of empty output files
fix warning "Use of uninitialized value in subroutine entry"

PR #5
Pulling in Roy's bug-fixes

- always write the sequence to the current seqio - fix for creating lots of empty output files
- fix warning "Use of uninitialized value in subroutine entry"
Pulling in Roy's bug-fixes

- always write the sequence to the current seqio - fix for creating lots of empty output files
- fix warning "Use of uninitialized value in subroutine entry"
Pulling in Roy's bug-fixes

- always write the sequence to the current seqio - fix for creating lots of empty output files
- fix warning "Use of uninitialized value in subroutine entry"
Pulling in the recent bug-fixes

- always write the sequence to the current seqio - fix for creating lots of empty output files
- fix warning "Use of uninitialized value in subroutine entry"
- bugfix: jobs could not trigger MEMLIMIT events
- bugfix: release the unfinished batch if the worker is contaminated