Updates for cli and context

cli adds new global options. We'll be able to specify flags that
apply to multiple options now.

context update fixes parallelWriter function, actually writes a value out now.
Merge pull request #108 from fkautz/pr_out_updates_for_cli_and_context