add systemd export

This adds support for exporting systemd targets and services.  The
structure is based on the existing upstart support.

Note that logs go to syslog.