Make unrolling of nested errors work

Some of the data sent to rlx_rel_discovery:format_error/2 had to be
unrolled more times, so the format_details/1 function has been
modified to unroll tuple of the {Module, Reason} format.