Fix comparison for null and boolean values

/to @ritch

See strongloop/loopback-datasource-juggler#132
Is `name` normalized? Would be nice if we could do `name. equalsIgnoreCase('boolean')` (which does not exist in JS).