Fix bug that prevents option values of 0 being parsed correctly

The previous || parsing of the option values would ignore values that evaluate to false e.g. 0 values
Correct wrong undefined comparisons
Merge pull request #55 from lamplightdev/master

Fix bug that prevents option values of 0 being parsed correctly