Update luarocks. #1018

Fix #1013.
Partial C99 cleanup of term.c #1020
vim-patch:7.4.315 #1021

Problem:    Fixes for computation of topline not tested.
Solution:   Add test. (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=646616b6ff4defcc7bef0b198b540f6d965a8126
vim-patch:7.4.279

Problem:    globpath() returns a string, making it difficult to get a
            list of matches.  (Greg Novack)
Solution:   Add an optional argument like with glob().  (Adnan Zafar)

https://code.google.com/p/vim/source/detail?r=8e9db1f27a0063df023cc05a760fce73255dad24
Document globpath().
Simplify globpath().

Factor out common subexpression: `WILD_SILENT|expand_options`.

Prefer `continue` to excessive indentation in loop.
path module: export find_previous_pathsep().
Simplify ExpandRTDir().

 * Return `bool`.
 * Use concat_str and `concat_fnames` over `xmalloc()`/`snprintf()`.
 * Use `fnamencmp()` over `STRNICMP()`.
 * Use `find_previous_pathsep()` from strings.h.
 * Replace variable `e` with `dot`.