Backport 2fc2626 from parallelism: Check if a service has started or stopped.

Conflicts:
	usr/lib/yarfi/ServiceThread.py
	usr/lib/yarfi/service.py