Fixes to win32 (un)installation process

Updated the style of ossec-installer.nsi so it is easier to read.

Turned on Uninstallation details same as is done for installtion
details.

Start to use SimpleSC plugin (Rainer Döpke) to handle the intial
stopping of the OSSEC agent service. The hope is this plugin can later
be used to do handle all of the necessary service configuration that
is required.

Added error checking around many of the (un)installation steps. There
is plenty of room for more error checking but hopefully this covers
some of the major problem areas.

Added logic to create the ossec.log on every installation.

Fixed cleaning up the bookmarks directory.

Start to use nsProcess plugin (Shengalts Aleksander aka Instructor) to
detect if either manage_agents.exe or win32ui.exe are running during
an uninstall. When they are running the uninstallation will fail to
remove those files and thus fails to remove the ossec-agent directory.
Added #include in os_net.c
Added Vista+ corollary for event ID 577
Added Vista+ corollary for event ID 517
Added Vista+ corollary for event ID 520
Merge remote-tracking branch 'upstream/master'
Merge pull request #163 from mstarks01/master

Added more Vista+-associated event IDs for existing rules
Merge branch 'master' of https://github.com/denied39/ossec-hids into denied39-master
Merge pull request #159 from awiddersheim/fix_win32_install_uninstall

Fixes to win32 (un)installation process
[tests] create make target for coverage report

* ignore and delete (on make clean) all coverage related files
* do not make libs, cause they are directly compiled into the test binaries for coverage report
[os_xml] harmonize error messages
[os_xml] refactor name of variable attribute
[os_xml] limit output in overflow error message
[os_xml] add testcases
[os_xml] refactor max size of variables
[os_xml] refactor type of xml element as enum
[os_xml] fail on too long variable names and on null-content right away
[os_xml] fill error line in ApplyVariables()
[os_xml] do not copy strings in ApplyVariables
[os_xml] do not traverse the xml tree twice in ApplyVariables(); so variables must be defined before their usage