erts: Fix memleak related to meta tracing
Fix erlang:is_process_alive/1
erts: Fix copy error in erlang:delete_element/2

Off-by-one error in element copy.
erts: Refactor erlang:insert_element/3 for clarity
Loosen the assumptions of code that handles escaping functions

The HiPE compiler implicitly relied on the assumption that a function
will never appear as both exported and also used as function closure.
This was true because the BEAM compiler prior to R16B created module
local anonymous functions for each closure. A proposed change to the
BEAM compiler invalidates this invariant, so in order to accommodate
for this change there needs to be a change of how the set of possibly
escaping functions is computed.

While doing this, the code was simplified by taking out a boolean()
tag that indicated whether a function is a closure or exported and
also slightly cleaned up the affected modules.
[observer] Add debug printouts in ttb_SUITE

To troubleshoot failed test case trace_resumed_after_node_restart on
windows.
erlang-mode: Add autoload cookies for file extension associations

The autoload cookies are used when erlang-mode is installed as an
Emacs package.  In this case, erlang-start will not be loaded at Emacs
startup; only the forms marked with ;;;###autoload will be extracted
and made available.
[common_test] Add -force_stop skip_rest option when repeating tests

To allow a repeated test to finish immediatly, 'skip_rest' option can
now be used in combination with 'force_stop'. If this option is used,
only the current testcase will be completed after timeout is reached
when repeating with 'duration' or 'until'.
[common_test] Add support for testing repeated testruns

ct_test_support which is used in common_test's own tests did not
support testruns with -repeat, -duration or -until options. This is
now added.
Improve Dialyzer output for scan errors

To reproduce, create an empty file "foo.erl" and run dialyzer on it.
Results without this patch:

$ dialyzer --src /tmp/foo.erl
  Checking whether the PLT /Users/magnus/.dialyzer_r16_plt is up-to-date... yes
  Proceeding with analysis...
dialyzer: Analysis failed with error:
Could not scan the following file(s): [{"/tmp/foo.erl",
                                        ["/tmp/foo.erl:1: no module definition\n"]}]
Last messages in the log cache:
  Reading files and computing callgraph...

Results with this patch:

$ dialyzer --src /tmp/foo.erl
  Checking whether the PLT /Users/magnus/.dialyzer_r16_plt is up-to-date... yes
  Proceeding with analysis...
dialyzer: Analysis failed with error:
Could not scan the following file(s):
/tmp/foo.erl:1: no module definition

Last messages in the log cache:
  Reading files and computing callgraph...
Added option wait_for_linebreak - so that expect does not need \n to match
[reltool] Clean up work dir after test

This is to save space in daily tests.
Result of failed test cases are still saved.
stdlib: Remove obsolete testcase dets_SUITE:otp_9607
stdlib: Fix unstable testcase ets_SUITE:delete_large_named_table

Remove the call trace from this testcase as we cannot guarantee named
table to be gone until ets:delete returns anyway.
Fix optimization of some binary comprehensions

If a variable bound in a generator is used as the size of a segment
in the comprehension body, v3_core uses this variable in the code
generated to compute the initial size given to the `bs_init_writable`
primop before the variable is actually bound, as in:

  << <<0:S>> || S <- Slist >>

Reported-By: Peer Stritzinger
Add a new option +clint0 to the compiler

This option makes the compiler run the Core Erlang linting pass before
any optimization pass, which can crash if the given code has unbound
variables, something that is detected by core_lint.
Fix a bug in the Erlang scanner

The scanner did not crash when a floating point number was encountered
in the input string.
SSL: add TLS PSK (RFC 4279 and RFC 5487) cipher suites
crypto: Refactor mod_exp_nif

As a preparation for the new mod_exp_prime and in the quest to reduce
to use of the old mpint format.
CRYPTO: add support for RFC-2945 SRP-3 and RFC-5054 SRP-6a authentication