test: Add gdbserver support on helpers.lua

The $GDB env var can be set to run tests under gdbserver. If $VALGRIND is also
set, it will add the --vgdb=yes command-line option to valgrind instead of
starting gdbserver.
Merge PR #1527 'Add gdbserver support on helpers.lua'
clipboard: check for X on every invocation

xsel and xcopy may be available even if a valid X display is not. Also,
the availability of X may change at any time, so check on each
invocation.

Closes #1509.
Merge pull request #1525 from justinmk/clipboardX

clipboard: check for X on every invocation
Fix substitute newline: Memory functions: Improve style.

`try_malloc` was changed in 8bb2c2c0742c57150655e18cf8418a758cebdce8 to
avoid a warning when size is 0. Then, this improves some things on that:

- Use local vars instead of changing parameters.
- Homogenize style for other related functions.
Merge pull request #1526 from elmart/mem-func-impr

Memory functions: Improve style.
Print an error and exit when there are no plugins.

Issue: #1537

Running the :UpdateRemotePlugins command will show an ugly, unhelpful
error when no plugins were found. This change has neovim print an error message
and does not attempt to start the python-client which requires at least one
plugin.
Merge pull request #1539 from Floobits/master

Print an error and exit when there are no plugins.
Remove win16 references
Remove NeXTSTEP references
Remove Atari MiNT references
Remove OS/2 references

NOTE: Paul Slootman was removed from the top of os_unix.c but is still
credited somewhere in the docs dir...
Remove Windows 95 references
Remove BeOS/Haiku references
Remove initial VMS references