refactoring, added Validator class, creating an array of validator in config setting class
change array of validator for hash of vaidators in config setting class
changed before_validation for after_initialize, refactored get_type_value method
changed validators instance variable to class variable of configure setting
refactor configsetting
refactor get_data_type with class variable
Merge pull request #1 from benja83/validator

Validator