Casting ConfigHelpers

Having to cast at all the call sites is not only annoying but slow. This does make slight, but breaking changes to the syntax of the config file.

Mandatory config vars are only 1.12x faster, but the question mark methods are 4.49x faster!

See https://gist.github.com/will/987eb6da5f9009b73d19 for the full benchmark and report.