asn1ct_value: Handle named INTEGERs with constraints

The asn1ct:value/2 function would crash for name INTEGERs with
constraints, such as INTEGER {a(2),b(3),z(17)} (2|3|17, ...).
PER/UPER: Correct encoding for single-value extensible constraints

An extensible constraint which is a union of single values, such as:

  INTEGER (1|17, ...)

would be incorrectly encoded.
Cope with .erlang files that print to stdout

Don't redirect standard output when auto-generating the asn1ct_rtt.erl
and asn1ct_eval*.erl source files, because anything printed form
.erlang will end up in them, probably causing a compilation error.
Fix broken handling of default values for BIT STRINGs

For DER/PER/UPER, a value equal to the DEFAULT is not supposed to
be encoded.

BIT STRINGs values can be represented as Erlang terms in four
different ways: as an integer, as a list of zeroes and ones,
as a {Unused,Binary} tuple, or as an Erlang bitstring.

When encoding a BIT STRING, only certain representations of
BIT STRINGs values were recognized. All representations must
be recognized.

When decoding a DEFAULT value for a BIT STRING, the actual value
given in the decoding would be either an integer or a list
of zeroes and one (depending on how the literal was written in
the specification). We expect that the default value should be
in the same representation as any other BIT STRING value (i.e.
by default an Erlang bitstring, or a list if the 'legacy_bitstring'
option has been given, or as compact bitstring if 'compact_bitstring'
has been given).
Merge branch 'bjorn/asn1/fix-dot-erlang-issue/OTP-11360' into maint

* bjorn/asn1/fix-dot-erlang-issue/OTP-11360:
  Cope with .erlang files that print to stdout
common_test: Add terminate/1
Merge branch 'fredrik/common_test/cth_log_redirect' into maint

* fredrik/common_test/cth_log_redirect:
  common_test: Add terminate/1
Merge branch 'bjorn/asn1/fix-default-values/OTP-11319' into maint

* bjorn/asn1/fix-default-values/OTP-11319:
  Fix broken handling of default values for BIT STRINGs
Merge branch 'bjorn/asn1/fix-extensible-single-values/OTP-11415' into maint

* bjorn/asn1/fix-extensible-single-values/OTP-11415:
  PER/UPER: Correct encoding for single-value extensible constraints
  asn1ct_value: Handle named INTEGERs with constraints