Updated ant files so that will print line numbers on exceptions.
Added a warning in case first phase of commit in atomically statement failed.
Off-by-one error in LockedActiveEvent for determining when to return
LockedActiveEvent from restore_from_atomic.