LPS-43888 Move formatImports method to new class ImportsFormatter
LPS-43888 Specialize separate Java and JSP import formatters, with tests

Tests broken because of LPS-43888 are marked with @Ignore.

All active tests are green.
LPS-43888 Let specific Java and JSP formatters extend ImportsFormatter

This is a preliminary step so in the next commit we move specialized
Java and JSP logic into each specific formatter.
LPS-43888 Move specialized Java and JSP logic to specialized formatters
LPS-43888 JavaImportsFormatter is now aware of the "static" keyword

Next commits shall use this information for sorting and grouping
LPS-43888 Remove classStartPos; regex matches full qualified import now

All active tests still green. Must now sort and group with static, and
remove @Ignore from the remaining tests
LPS-43888 Move and encapsulate packageLevel logic into ImportPackage
LPS-43888 Move and encapsulate grouping logic into ImportPackage
LPS-43888 Fixed. Sorting and grouping now aware of the static keyword.

@Ignore removed from broken tests. All tests green now.

Committing pre-existing source file affected by the new sorting order.
LPS-43888 Make it O(n * log n) instead of O(n ^ 2)
LPS-43888 JavaSourceProcessorTest runs faster as a plain unit test

Being test code instead of production code, it's harmless to read the
file directly instead of going through FileImpl. This spares the need
for "@RunWith(LiferayIntegrationJUnitTestRunner.class)" and the test
finishes in a fraction of the time, straight from Eclipse, with no extra
settings.

As a bonus, it should now be possible to move this test from
test/integration to test/unit so it runs earlier in the test cycle.
LPS-43888 Rename tests and no need to explain in so much details what the expected behavior of the tests are
LPS-43888 Source formatting
LPS-43888 Sort
LPS-43888 Source formatting
LPS-43888 Move tests
LPS-43888 Source formatting
LPS-44466 Contents of gradle folder where thought to be reusable, so does not make sense to force the allprojects/submodules structure inside them. Let each module (which is an independent build) the ability to choose how to apply the code
LPS-44466 The registry project is a multimodule project, so it needs to apply all the Java stuff defined in java.gradle to its children
LPS-44466 SF