Added 'validatevalues' global config option & default options bug fix

- validatevalues addresses issue #37
- Option parsing was done by using || with passed-in options, going to a
default value otherwise. However, for a boolean flag with a "true"
default, this makes it impossible to set the value false. This commit
fixes this issue using hasOwnProperty.