Create an Source Editor core extension for getting values from .editorconfig
<!-- This issue template can be used a great starting point for feature requests. The last section "Release notes" can be used as a summary of the feature and is also required if you want to have your release post blog MR auto generated using the release post item generator: https://about.gitlab.com/handbook/marketing/blog/release-posts/#release-post-item-generator. The remaining sections are the backbone for every feature in GitLab. -->
### Release notes
<!-- What is the problem and solution you're proposing? This content sets the overall vision for the feature and serves as the release notes that will populate in various places, including the [release post blog](https://about.gitlab.com/releases/categories/releases/) and [Gitlab project releases](https://gitlab.com/gitlab-org/gitlab/-/releases). " -->
### Problem to solve
As discussed in https://gitlab.com/gitlab-org/gitlab/-/issues/267514, the behavior of the single file editor doesn't match the Web IDE when it comes to dealing with trailing lines. The Web IDE defaults to adding newline characters at the end of every file, but can be configured by including the `.editorconfig` file and defining your desired behavior.
The Single File editor does not respect the `.editorconfig` preferences so the behavior will not match. Additionally, the _default_ behavior is different. Where the Web IDE automatically includes the newline, the Single File Editor does not. However, changing the default behavior of the Single File Editor _without_ also implementing a way for users to override that behavior would result in files that could _never_ remove the blank line at the end of the file.
### Proposal
I'm not exactly sure how this would work, but the Single File Editor could be configured using the same `.editorconfig` values. The goal would be consistent behavior between the Web IDE and SFE.
If this is something that can or should be implemented as part of Editor Lite, we should consider applying the same behavior to the Snippet editor as well.
### Notes
We don't _need_ this to be a "core" extension but we would want this effort to be an extension that applies to both the SFE and Web IDE
issue