Updated dependencies to support finding loops

Added functionality to loop detection to return which items
in the list are actually loops. Will now return dictionary
of the items. Next need to update documentation.
Also added some more tests to check for these return values
on loops.