Make Singularity embeddable into a bigger service.

Adds also an example on how to do it with a skeleton class.

There is probably some more documentation required; I will write some once this has really gelled.
another generic change for extensibility.
Merge pull request #295 from hgschmie/embed-singularity

Make Singularity embeddable into a bigger service.