Added ability to set the delayed start attribute on services. Fixed a test that did not set up its state correctly
Cosmetic updates.
Use bool instead of int, plus some cosmetic updates.