Refactor to more OO core interface.

This exposes more of the Discount API (table of contents,
style, author, date, etc.).
Fix up README; 'flags' is a slurpy param.