[SM Cloud Licensing Trials] Add logic to build the trial license

Problem

In [SM Cloud Licensing Trials] Iteration 1.1: Impl... (&16046 - closed), the creation flow of the SM Ultimate on Cloud Licensing trial record was implemented. [SM Cloud Licensing Trials] Iteration 1.2: Upda... (&16047) plans to utilize it to allow provisioning/deprovisioning, activation, and usage of this trial type.

When a new license needs to be created as part of the CloudActivations::ActivateService or the SeatLinkCreateService we'll use the BuildLicenseFromSubscriptionService. This service is specific to creating a license from a subscription. For the SM Ultimate on Cloud Licensing trial, we'll need to be able to create a License from a Trial and its TrialAccount.

Proposal

Add logic to build a License record with the information from the Trial and its TrialAccount. It probably makes sense to use a similar approach as with the BuildLicenseFromSubscriptionService for this (create a new service and a method on the License method).

The new service doesn't have to be used anywhere yet as the places have to be modified first to support a Trial.

Result

Allow building of a License from a Trial and its TrialAccount.