Functional: Added ToArray

Naive implementation
Added Algorithms library

For various "free standing" algorithms.

Initially just a stable sort, based on a naive merge sort
implementation.
Algorithms: Improved merge sort

Added insertion sort for small subarrays
Moved common helper functions to core Detail unit

The NuLib.Detail unit can be used across libraries.
Algorithms: Merge sort performance improvements

Convert interface method to regular object method reference, skipping an
indirection.
Algorithms: Merge sort performance tweaks