For now, actually, always trace ApplicationImpl transitions
Added log statements to map and reduce tasks. Write metadata out to
spill files.