switch to latest released fog
fixes #2260 Allow ERB in ENC global / class parameters

Adds code to parse the global & class parameters, and adds a setting (default true)
 to disable this if needed. Also has some tests.