Deriving dep info from fetched artifact instead of rebar.config.

Expand deps according to rebar configs and enforce rebar.config ordering
recursively.