fixed the Task/Process matchers
added a returnsOk method for tasks
extracted the returns syntax for match results
added a spec to test the index file writing