[REFACTOR] Type soul ids and follow rules-architecture 0.21.0 (#109)
## Overview
Souls are loaded by a typed `SoulId`, and SoulKeeper passes `architectureLint` of rules-architecture 0.21.0 with no baseline; the findings are fixed in code.
## Related Issue
## Motivation and Context
A soul id was a bare `Long` that could be mixed up with any other number, and the repository mixed `get…` names with suspend loads. `architectureLint` also runs the type-resolution detekt tasks that `check` skips; on master it reported findings `check` did not show.
## Technical changes
- `SoulId` value class; `SoulRepository` loads with `loadSouls`, `loadSoul(SoulId)`, `loadPlayerSouls`, `loadSoulsNear` and deletes with `deleteSoul(SoulId)`; the `/souls` intents carry `SoulId`.
- `Soul` is a sealed interface in one file with `DatabaseSoul`, `ItemDatabaseSoul` and `DefaultSoul`.
- `safeRun` of `ExposedSoulRepository` rethrows `CancellationException` instead of turning it into a failed result; `orderBy` takes the column and order instead of a `Pair`.
- `Clock` is created once in `CoreModule` and passed to the workers, the throttle executor, the event listeners and the souls command executor.
- `/souls` list buttons no longer take an `onClick` callback: a click emits an intent into a flow the executor collects.
- `CommandExceptionHandler` and `SoulsCommand` are in `api` packages of the command unit; `souls` is `soul`, `packetevents` is `packetevent`.
- Root packages of the event and service units follow the unit path (`event.bukkit|forge|neoforge`, `service.api|bukkit|forge|neoforge`); `RootModule` is internal.
- The Java vararg calls (`WrapperPlayServerDestroyEntities`, `Inventory.addItem`) keep one call with the spread operator under `@Suppress("SpreadOperator")`.
- rules-architecture 0.21.0, version 1.19.0; coroutine tests return `runTest` as `TestResult`; application KDoc, redundant `suspend` and unused properties are removed.
## How to test
1. Start a Paper server with the Bukkit jar and die: a soul appears.
2. Open `/souls` and click `[TP]`, `[FREE]` and the page buttons.
3. Pick up a soul with a full inventory: what does not fit drops as before.
4. Start a Forge and a NeoForge server and die: souls are created.
Not checked on a live server.
## Changelog
Nothing a user notices.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }