Add UIContext.taskId method to get task ID to stick in events

Currently no events have a taskId field but they are about to.
Spell CommandLineUiContext correctly
Add taskId to TestEvent
Add taskId to CompilationFailure
Merge pull request #91 from sbt/wip/havocp-task-ids-in-uicontext

add task IDs to test and compile events