[BUG FIX] node-red-contrib-simple-gate (version 0.5.1)

This fixes a major bug in the most recent release. The version 0.5.0 upload did not include the revised JS file, so the advertised new feature simply did not work. Happily or not, no one has reported the issue.

This version also fixes (works around) a bug that prevented the node from loading in versions of Node-RED prior to 0.19.