Add FOR_ALL_BUFFERS helper
FOR_ALL_BUFFERS use locally declared buffer pointer
vim-patch:7.4.231

Problem:    An error in ":options" is not caught by the tests.
Solution:   Add a test for ":options".  Set $VIMRUNTIME for the tests so that
            it uses the current runtime files instead of the installed ones.

https://code.google.com/p/vim/source/detail?r=0a295a3c9e473512ad3b006a0fb752ad43d19094
coverity/13749: fix negative array index read in unset_global_local_option
Merge pull request #1085 from paulburlumi/master

coverity/13749: fix negative array index read
Merge pull request #1024 from war1025/dev/for_all_buffers

Add FOR_ALL_BUFFERS helper
vim-patch:7.4.317 #1076

Problem:    Crash when starting gvim.  Issue 230.
Solution:   Check for a pointer to be NULL. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=8ffcb546d782
Merge pull request #1062 from atwupack/vp-7.4.230+231

vim-patch:7.4.231
Port vim's patch 7.4.338 ('breakindent')
vim-patch: 7.4.346

Do not cache "brishift".

Indent was not updated when changing 'breakindentopt'.

Reported by itchiny, fixed by chrisbra in vim patch 7.3.346
(https://code.google.com/p/vim/source/detail?r=3248c6e40aee01a7254d111dd846c6ec7889a804).
vim-patch: 7.4.353

Make 'breakindent' work with the 'list' option.

Originally patched in vim patch 7.4.353, by chrisbra
(https://code.google.com/p/vim/source/detail?r=d42a1d3b74d40f580359dbd139d2d0dfa7235252)

Updated version.c.
vim-patch:7.4.371

Problem:    When 'linebreak' is set control characters are not correctly
displayed. (Kimmy Lindvall)
Solution:   Set n_extra. (Christian Brabandt)
vim-patch:7.4.370

Problem:    Linebreak test fails when encoding is not utf-8. (Danek
Duvall)
Solution:   Split the test in a single byte one and a utf-8 one.
(Christian Brabandt)
vim-patch:7.4.388

Problem:    With 'linebreak' set and 'list' unset a Tab is not counted
            properly. (Kent Sibilev)
Solution:   Check the 'list' option. (Christian Brabandt)
vim-patch: 7.4.352

Problem:    With 'linebreak' a tab causes a missing line break.
Solution:   Count a tab for what it's worth also for shorter lines.
            (Christian Brabandt)
update src/nvim/testdir/Makefile

include breakindent and list related tests
Use lua generator in place of ex_cmds_defs header trick

Closes #788
Fixes #379
Ref #549
Add const qualifier and explicit length
Fix problem with test47: addition is not bitwise OR

:diffsplit command used to include some flag value twice. If I was using bitwise
OR it would be OK, but I had addition here. Changed to use bitwise OR.
Extend documentation