Null passes lodash as undefined

using ``lodash.isUndefined`` on a ``null`` variable passes as true rather than false,
moves back to simple check for err in the if and remove err.red as colours only supports
string.
Merge pull request #7 from apibyexample/nick/bugfix-error-handling

Null passes lodash as undefined