Homebrew: Compile as release build.
GenerateHelptags: check whether DESTDIR exists
Merge pull request #1379 from xu-cheng/GenerateHelptags_fix

GenerateHelptags: check whether DESTDIR exists
Merge pull request #1366 from fwalch/homebrew-release

Homebrew: Compile as release build.
CMake: Fix checking of DESTDIR
GenerateHelptags: Use ${PREFIX} variable
Merge pull request #1381 from xzfc/master

GenerateHelptags: Fix checking of DESTDIR
Revert "Merge pull request #1381 from xzfc/master"

This reverts commit 6c0a596dacd7672e650847f1ed15e6a2a67b1483, reversing
changes made to 33d3a7c83b2f1d2cda22b53bf82d68267154cdfd.
CMake: Fix helptags generation.
Merge pull request #1387 from fwalch/fix-installation

Fix installation.
runtime/docs/msgpack-rpc: Misc. fixes

- Correct apostrophe usage, primarily with it's/its
- Correct usage of 'e.g.'
- Capitalize acronyms
- Prepend NVIM_LISTEN_ADDRESS with '$' to match previous instance
- Avoid awkward phrasing
- Make lists with an explicitly stated number of points numbered to
  match other such lists
- Added space before parentheses
- rm trailing whitespace
Merge pull request #1377 from Pyrohh/msgpack_rpc-doc-fixes

Misc. msgpack-rpc doc fixes
travis: Force travis build to fail when core files are dumped
travis: Test `nvim --version` in gcc build

The --version flag drives Nvim to take a different code path, which is worth
testing. Now we do it in the "gcc" ci target(It will only fail if the exit code
is different than 0)
event: Do an early return from event_teardown when not initialized
channel: Move mch_exit(0) call to a non-deferred event handler

Since `mch_exit` will re-enter event_poll, it is necessary to call it outside
libuv event loop.
event: Assert that all libuv handles are closed on exit.

Travis build will now fail when core files are dumped, so call `abort()` when
the event loop is not fully released before exiting.
test: Add valgrind suppression for libuv memory leak

A memory leak happens in uv_spawn when stdio is set to UV_IGNORE and the child
process fails to start. This only happens when libuv is compiled with gcc and
optimizations enabled(the default).

Compiling with '-O0' removes the leak, but all that can be done right now is
ignore the leak by adding a valgrind suppression.
Merge PR #1384 'Add core dump reporting to travis'
legacy tests: improvements to functional helpers.lua

- Clean vim registers and functions before each test
- Add eval workaround to the request helper method
- Export dedent method