Gets common paths ancestor of given paths.

    Usage::

        >>> get_common_paths_ancestor("/Users/JohnDoe/Documents", "/Users/JohnDoe/Documents/Test.txt")
        u'/Users/JohnDoe/Documents'

    :param \*args: Paths to retrieve common ancestor from.
    :type \*args: [unicode]
    :return: Common path ancestor.
    :rtype: unicode

def get_common_paths_ancestor(*args):
    """
    Gets common paths ancestor of given paths.

    Usage::

        >>> get_common_paths_ancestor("/Users/JohnDoe/Documents", "/Users/JohnDoe/Documents/Test.txt")
        u'/Users/JohnDoe/Documents'

    :param \*args: Paths to retrieve common ancestor from.
    :type \*args: [unicode]
    :return: Common path ancestor.
    :rtype: unicode
    """

    path_ancestor = os.sep.join(get_common_ancestor(*[path.split(os.sep) for path in args]))
    LOGGER.debug("> Common Paths Ancestor: '{0}'".format(path_ancestor))
    return path_ancestor