Add list dependencies function

List all dependencies registered in the container