Introduce unit tests to the Start component utilizing the unit tests framework introduced by Gradle
Committed the first batch of unit tests (8 tests) in r1753274 into a new file called OfbizStartupUnitTests.java and fixed minor issues in the code that were detected thanks to these tests.
Also a small comment, a very nice test report is generated for the unit tests in /build/reports/tests/index.html similar to the test report for integration tests in runtime/logs.
Fixed a regression in 1757360. Essentially you cannot turn off the server after making code changes because some tests fail that depend on OFBiz not being active (turned off). These tests need to be introduced more cleanly in the integration tests suite somewhere.
This marks the JIRA as complete.