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 crypto