Add OptionFlag type
Generalized parsing of events from text files

- TextEventDAO parses events from text line-by-line
- EventFormat describes how to parse an event from a line
- Use this to parse ratings
Add missing license headers
Allow JavaDoc to be skipped
Simplify and reuse code for rating parse contexts
Set target compatibility flag