Allow 0 as an option value

Simple change to allow `0` as an option value. Using `obj.value = obj.value || obj.name;` wouldn't allow `0`.
Merge pull request #54 from trevorgerhardt/patch-1

Allow 0 as an option value