Server: working on REST API tests for participants.

Fixed SBT evicted warnings.
Refactored base classes for commands.