refactor: clean up `ShareCommon` API (#16715)

This PR cleans up the `ShareCommon` API.

The private parts of the API are marked as such, by making them
`private` and/or adding an `Internal` name component.

`ShareCommon.shareCommon'` was renamed to `ShareCommon.shareCommon`.
`Lean.ShareCommon.shareCommon` was removed, so that everyone uses
`ShareCommon.shareCommon` now.
22 files changed