Update _.hasPath and _.getPath

options = { options: false };

_.hasPath(options, 'options.options') would result in error about not being able to use in to find 'options' in false.

this fixes that
+1 here, add some unit tests