Modifications based on code review.

- Clarify functionality of toMatchER and some other variables.
- Move some Karma config into code lines.
- Fix a bugs in merge and file read/write.
- Restore original reporters for non-ergen run.