Add list dependencies function

List all dependencies registered in the container
Nitpicky but can you fix these whitespace changes? Looks like some words got mushed together for some reason?