added correct behaviour for when required=false && value="" $valid should equal true

added funtionality + corresponding unit-test
Merge pull request #2 from xanderv87/master

undefined !== ""
Included #2 in release
Merge branch 'release/0.3.2'