Merge pull request #189 from ossec/stable

Windows agent UI version and Copyright update
[tests] test hostname map
[tests] test charmap for case insensitive match
[tests] test regex maps
[tests] test OS_StrStartsWith
[tests] Os_StrIsNum: test numbers with sign
Merge pull request #191 from cgzones/os_regex_unittests2

os_regex unit tests #2
[os_regex] convert octal chars to decimal ones in regex maps, because octal values grater than \177 = 128 causing conversion warnings
[os_regex] fix compiler warnings
[os_regex] remove macro definitions already defined in os_regex.h
[os_regex] update makefile
[os_regex] fix compiler warnings about const discarding
[os_regex] lower scope of variables, suggested by cppcheck
[os_regex] size_t is always greater equal 0
[os_regex] init matching function pointer of OSMatch with NULL
[os_regex] make pattern const in matching functions
[os_regex] free OSMatch elements independent from each other
[os_regex] remove solved todo
[os_regex] simplification
[os_regex] check for memory error before doing something else