LPS-49544 add method  to convert List to Array directly

When there is need to extract properties from a list of objects, there
is a common idiom used in the portal:

    StringUtil.split(ListUtil.toString(list, accessor), x);

This pattern has, among others, the following problems:

  - It is only possible to get properties with a menaningful string
    representation.

  - The string representation of the properties must not contain the
  separator character.

  - Allocates unnecessary strings.

The new ListUtil.toArray method does the conversion without suffering
from any of this problems.
LPS-49544 add special case for primitive long

Primitive types and generics don't mix well.
LPS-49544 replace usages of new method where appropriate
SF
LPS-49544 SF
LPS-49544 Rename so they can be grouped together
LPS-49544 group together
LPS-49575 SF
SEMVER auto-generated
fix LPS-48582
LPS-48582 SF - return early if possible
LPS-48582 SF - reuse logic when possible
LPS-48582 Rename
LPS-48582 Move
LPS-48582 SF
LPS-48582 SF
LPS-43745 - The remove page button is cutoff in a minimized interface
LPS-49433 Stop using the major version flag to check if the entry is being reverted, also apply to DDL
LPS-49433 Update tests
LPS-49433 Source Formatting