Harmonizing term validation methods

These two methods:

Occi::Core::Kind.sanitize_term_before_classify() (private)
Occi::Core::Category.valid_term?()

deal with validity of characters in terms. They now recognize the same set of characters ([0-9a-z_]) plus the sanitization code has been made more efficient.