Update helpers.php

`slug()` regex is too specific. Make it not working in **Custom Field** and **Site Variables** key.
Merge pull request #577 from tovic/patch-19

Update helpers.php