Merge #804 'Coverity fix resource leaks 1b'
SVG coverage badge #821
move update_screen() flags to screen.h
move values for find_pattern_in_path() to search.h
move HL_* variables to syntax.h
move VALID_* defines to buffer_defs.h
move WILD_* defines to ex_getln.h
move EW_* defines to path.h
move FINDFILE_* defines to file_search.h
move SST_* defines to syntax_defs
move/remove W_* macros

move W_ENDCOL to screen.c
remove the rest of the W_* macros
Remove unnecessary (int) casts and fix style
removed whitespace from  ROOT_UID define.
Merge #774 'Move defines from vim.h to other header files'
spelling fixes #827
viml: impl profiling on top of uv_hrtime()

Should be better than gettimeofday() since libuv uses higher resolution
clocks on most UNIX platforms. Libuv also tries to use monotonic clocks,
kernel bugs notwithstanding.

Necessary for Windows, which doesn't have gettimeofday.
C99: replace vim_round with round

round() wasn't part of C89, but it is part of C99.