Re-implement legacy $USER1$ detection support in Icinga 2 *Commands.

Introduce new *Command templates providing vars.USER1 and vars.plugindir
being set to PluginDir from constants.conf

Refs #2557