Don't send default Inband-Security-Id in CER/CEA

RFC 6733 recommends against the use of Inband-Security-Id, so only send
a value that differs from the default.
Adapt CEA/DPA Failed-AVP to RFC 6733

By setting only one, not many. The handling for other messages (except
DWA, which is forgiving of errors) was dealt with in commit f7ec93e3.
Merge branch 'anders/diameter/inband_security/OTP-11050' into maint

* anders/diameter/inband_security/OTP-11050:
  Don't send default Inband-Security-Id in CER/CEA
Respect Host-IP-Address configuration

Addresses returned from a transport module were always used to populate
Host-IP-Address AVP's in an outgoing CER/CEA, which precluded the
sending of a VIP address. Transport addresses are now only used if
Host-IP-Address is unspecified.

In other words, respect any configured Host-IP-Address, regardless of
the physical addresses returned by the transport. To use the physical
addresses, don't configure Host-IP-Address.
Merge branch 'anders/diameter/host_ip_address/OTP-11045' into maint

* anders/diameter/host_ip_address/OTP-11045:
  Respect Host-IP-Address configuration
Fix setting of Failed-AVP on {answer_message, 5xxx} from handle_request

RFC 6733 says that certain 5xxx result codes must be accompanied by
Failed-AVP, and decode populates #diameter_packet.errors with
Result-Code/AVP pairs for errors it detects. However, Failed-AVP was not
set in the outgoing answer if the handle_request callback returned
{answer_message, 5xxx}. It is now set with the AVP from the first pair
with the specified Result-Code, if found.

Note that {answer_message, 5xxx} doesn't handle all cases in which a
5xxx answer is required, only that in which the setting above is
appropriate. If it isn't then handle_request should construct its answer
and return {reply, Ans}.
Merge branch 'anders/diameter/5xxx_failed_avp/OTP-11092' into maint

* anders/diameter/5xxx_failed_avp/OTP-11092:
  Fix setting of Failed-AVP on {answer_message, 5xxx} from handle_request
Merge branch 'anders/diameter/one_failed_avp/OTP-11127' into maint

* anders/diameter/one_failed_avp/OTP-11127:
  Adapt CEA/DPA Failed-AVP to RFC 6733
Added an initial implementation of having erl_tidy print to screen instead of writing to the file provided. The reason for this is that you may want to have an intermediary step between saving the tidied file and using the output. Use-case personally is wanting to integrate erl_tidy into emacs and tidy buffers, overwriting the current file is generally not how this works in emacs with source code tidiers.
Changed function call for print_module

Changed the function call for print module to the one which matches
the actual function is.
Added documenation for the new option describing what it does.
Add Fd usage in rb logging

rb was only accepting physical filenames as log file.
This patch allow rb to accept now any io_device, valid registered name,
except standard_error which is replaced by standard_io.
rb:list use standard_io when log file is a terminal otherwise
result of rb:list is written in the log file. That could not be
possible before.
Fix no return of io functions when self() used as Iodevice

When self() is used as Iodevice in io functions, this was resulting
in an infinite wait of function return.
This patch add a guard in request and replace self() by the current
group_leader.
Merge branch 'dg/win_icon' into pu
Merge branch 'rc/break-out-asserts' into pu
Merge branch 'ao/fix_mnesia_block_table_exception' into pu
Merge branch 'sze/ssh_cli_handles' into pu
Merge branch 'sze/edlin_understand_keys' into pu
Merge branch 'sze/limit_max_length_int_shell' into pu
Merge branch 'yi/fix_eunit_io_protocol' into pu