Adding parameters to router_dump_exit_policy_to_string() to return IPv4, IPv6 or both.
Updating unit test for router_dump_exit_policy_to_string().