added a trimValue support to get the trimmed value
updated qunit test
Merge pull request #323 from PrimeRevenue/bug/text_field_trimming

bug/text_field_trimming (wip)