Optimizations/bugfixes/feature adds for systemd execution module
Optimizations/bugfixes/feature adds for systemd execution module

This makes some DRY changes, as well as fixing a bug introduced in
17b4538.

It also adds runtime masking support for the mask() function.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt