Re-implement the charm-event legacy API endpoint.

Only support what strictly required by "juju publish".
This is based on Jay's work.
Full sentences are good...

    // We intentionally do not implement the long_keys query parameter that the
    // legacy charm store supported, as "juju publish" does not use it.