Add configuration to add class globally to inputs.

Closes #316
Merge pull request #337 from plataformatec/input_class

Add configuration to add class globally to inputs.

Closes #857