feat: Push setting of 'throwOnInvalidCommit' flag down into applyCommit endpoint
Small code cleanup in advance of follow-up PR (https://github.com/ceramicnetwork/js-ceramic/pull/2397). Removes the necessity of clients setting this field, so if we add more streamtypes in the future we won't always have to remember to set this.
NET-1717 'throwOnInvalidCommit' should be set automatically
When a Ceramic node is applying a commit and encounters an error with the commit, if that commit came over pubsub it swallows and logs the error. If the commit came from the HTTP-client, however, it should throw an error and return an error to the client application so the app knows there was something wrong with the write it requested. To enable this behavior, we have a throwOnInvalidCommit StreamOpt that can be passed to the server when creating or updating streams. Currently, each streamtype client sets that field manually. This means that anyone authoring a new StreamType needs to remember to set that. Instead, the daemon could automatically add that field on all requests that come in via an HTTP endpoint (unless the application explicitly provided it and set it to false).