function getPathInfo(obj, path) {
  var parsed = parsePath(path);
  var last = parsed[parsed.length - 1];
  var info = {
    parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,
    name: last.p || last.i,
    value: internalGetPathValue(obj, parsed),
  };
  info.exists = hasProperty(info.parent, info.name);

  return info;
}
### .getPathInfo(object, path)

This allows the retrieval of property info in an
object given a string path.

The path info consists of an object with the
following properties:

* parent - The parent object of the property referenced by `path`
* name - The name of the final property, a number if it was an array indexer
* value - The value of the property, if it exists, otherwise `undefined`
* exists - Whether the property exists or not

@param {Object} object
@param {String} path
@returns {Object} info
@namespace Utils
@name getPathInfo
@api public