Add an option to return NaN for invalid numbers.
Adds a third param to unformat() called options such that if
options.returnNaN is truthy a NaN will be returned instead of zero.