Remove Flymake dependency in erlang-pkg.el

The dependency was incorrect, as the package is called flymake, not
flymake-mode.  It also used to suggest a newer version of flymake than
the one that comes with Emacs, even though the Erlang mode works well
with the older version.

Removing the dependency instead of depending on version 0.3 (the one
shipped with Emacs), since the downloadable version of package.el for
Emacs 23 and earlier doesn't recognise Emacs built-in libraries as
packages.  (Thanks to Steve Purcell for pointing this out.)
Fix cover.xml formatting error
Document change to cover.erl source search

The change was introduced in commit 29231033.
Extend cover.erl source search

Commit 29231033 made cover fall back to compile info if source was not
found in pwd or ../src. This isn't sufficient for source that lies in
subdirectories of ../src when beams and source have been moved since
compilation (eg. install of some OTP applications), so first try finding
source relative to the beam directory.

For example, given a beam path

  /installed/path/to/app-1.0/ebin/root.beam

and a source path

  /compiled/path/to/app/src/subdir/root.erl

then look for

  /installed/path/to/app-1.0/ebin/../src/subdir/root.erl

before the source path.
Merge branch 'mh/fix-emacs-pkg-flymake-dep/OTP-10930' into maint

* mh/fix-emacs-pkg-flymake-dep/OTP-10930:
  Remove Flymake dependency in erlang-pkg.el
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.
[cover] Ensure no process leak when stopping cover on dead node

When cover:stop(Node) was called on a non-existing node, a process
waiting for cover data from the node would hang forever. This has been
corrected.
Merge branch 'mh/emacs-package/OTP-10999' into maint

* mh/emacs-package/OTP-10999:
  erlang-mode: Add autoload cookies for file extension associations
fix a race condition when there're several applications in apps directory
Use erlang:demonitor(Ref, [flush]) where applicable
Remove unused Postscript files
Delete ets tables when stopped
Merge branch 'mar/cover-fix/OTP-11028' into maint

* mar/cover-fix/OTP-11028:
  Delete ets tables when stopped
  fix a race condition when there're several applications in apps directory
Merge branch 'lh/demonitor-flush/OTP-11039' into maint

* lh/demonitor-flush/OTP-11039:
  Use erlang:demonitor(Ref, [flush]) where applicable
Remove the "coding: utf-8" comment from all Erlang source files
Convert XML files to UTF-8, where needed
Convert XML files to UTF-8
tools: Refactor away ?line macro in eprof_SUITE
tools: Add testcase to eprof_SUITE

Test disabling of set_on_spawn
tools: Add options to eprof

The option set_on_spawn can now be opted out.