Default context

Add a default context which gets merged into each thread's context, which I want to use to define a global "app_name" key in a sane way.

Review: @wvanbergen @emilienoel