Merge pull request #16 from crisson/master

fix global leak of loop variable `i`
Fix invalid conversions from Either to Maybe and Validation

The prior implementation used a property undefined on `Either` `(this.val)`.
 It appears that `this.value` was the intended property.