Return correct exit status from system-wrapper

Patch suggested by @WilliamH
Add placeholder implementation for marking and querying service state

Until the semantics of marking services is clearer, this is a
placeholder implementation which effectively allows services to
store and query their state
Separate options and state for multiple instantiated units