Fix required properties with zero value errors.

'required' properties that have a zero value generate an error when they should not. This is
due to if (source[property]) check in getProperty, instead of (source[property] !== undefined)