Allow building as a static -fPIC library
Build libnvim on CI server
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