Added a backend parameter to the fail2ban::jail defined type.
Wrap the port line of the template in an if statement so that we don't print anything if the port is undefined by the user.