Implement support for writing report entries and setting them.

* Rename FileReport to FileReporter.
* Add report unittests that were previously not checked in.