update _.has to return false for null/undefined

As discussed in #1623.

The current behaviour (throwing a TypeError) is not helpful, and likely not deliberate.