Deduplicate methods into the abstract CheckStyleConfig

Remove some of the duplicated methods in favour of housing them within the abstract class itself. This means that the child Config classes are solely responsible for parsing the configuration.