Fix #451: Build broken on OSX.

Problem:  Build breaks in OSX if macports ncurses present, due to
          header conflict involving 'term.h'.
Solution: Modify include search order.
Changed testdir/Makefile to use Makefile wildcards instead of SUFFIXES
Replace mch_rename and vim_rename with libuv
Restore vim_rename
vim-patch:7.4.169

Problem:    ":sleep" puts cursor in the wrong column. (Liang Li)
Solution:   Add the window offset. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=4e3a9dd25d428e7c08ed401afc244972e27e08e6
Extract memory.c from misc2.c
Try to find all other instances of vimrc and gvimrc and prefix them  with n
Possible string literals that have to be replaced