This makes ref validation to use always `UntrustedRegexp`. This also splits the existing RubySyntax into separate class.
This decouples Ci::Config to provide a common interface for handling user configuration files.