CMake: Remove msgpack shared library in subdirectories.
strings.c: replace copy_spaces, copy_chars with equivalent memset.
Merge pull request #1635 from danthedeckie/master

replace copy_spaces and copy_chars functions with equivalent memset.
strcnt: remove unused parameter
Merge pull request #1642 from fwalch/msgpack-glob

CMake: Remove shared libraries for messagepack.
Merge pull request #1586 from oakes/master

libnvim: Allow building as a static library
Make test29 work with nocompatible.
Ignore compatible mode
vim-patch:? Fix memory leak in readviminfo

Patch provided by Christian Brabandt
Improved by oni-link
Merge pull request #1622 from klusark/test29

default to 'nocompatible'
main.c: remove NO_VIM_MAIN

It is from legacy Vim, not used by Neovim.
vim-patch: Mark patches as NA. #1637
Reduce indentation level by early returning or continuing loop

Replace code like this

```c
func() {
    if (cond) {
	...
	...
	...
    }
    return ret;
}
```

```c
for (...) {
    if (cond) {
	...
	...
	...
    }
}
```

with

```c
func() {
    if (!cond) {
	return ret;
    }
    ...
    ...
    ...
}
```

```c
for (...) {
    if (!cond) {
	continue;
    }
    ...
    ...
    ...
}
```
Simple refatorings that didn't fit the pattern of the last commit
vim-patch:7.4.463

Problem:    Test 86 and 87 may hang on MS-Windows.
Solution:   Call inputrestore() after inputsave(). (Ken Takata)

https://code.google.com/p/vim/source/detail?r=v7-4-463
vim-patch:7.4.470

Problem:    Test 11 and 100 do not work properly on Windows.
Solution:   Avoid using feedkeys(). (Ken Takata)

https://code.google.com/p/vim/source/detail?r=v7-4-470
vim-patch: Mark patches as NA
vim-patch: Update patches to 552
Merge pull request #1661 from philix/early_exit

Reduce indentation level by early returning or continuing loop
Merge pull request #1668 from three-comrades/patches

vim-patch:7.4.463 + vim-patch:7.4.470