fixed required validation for textarea

Hi @bakura10,

When we apply <code>required</code> validation for textarea, it also accept blank spaces, new line characters, carriage return etc. which is invalid.
Even same thing happens with text-inputs. Its not issue with this addon but the html5 accepts blank spaces as valid.

So to fix this, I have added few changes to validate <i>Textarea and text-inputs</i> by accepting proper values and no blank spaces or new-line characters.

Can you please have a look here? Also let me know your inputs and suggestions to solve this issue.
(or it might not be the issue but I would like if you can help me here to get better validation).

Thanks :smile: