PlayTest: Added the `configureService` helper method that adds a configuration entry to the test play configuration.
PlayTest: `configureService` now returns the modified test play configuration.
Fixed code formatting.
JpaTransactionsTest: added a test that verifies tne entity manager is closed at the end of a transaction.