Fix manage agents error messaage compile warning
Fix include order warnings when compiling win32

Let shared.h include handle the inclusion of all the necessary Windows
libraries. This is similar to 1e2406f4. Fixes the following warning:

from shared/randombytes.c:10:
	warning: #warning Please include winsock2.h before windows.h
Merge pull request #448 from awiddersheim/fix_manage_agents_warning

Fix manage agents error messaage compile warning
Merge pull request #449 from awiddersheim/fix_win_compile_warning

Fix include order warnings when compiling win32
fix to sshd rules
I don't know where the [preauth] comes from but I don't see it in my log messages and at least for the corrupted MAC messages I had to remove it so rule 1002 does not kick in.
fix rule testing
it turns out the [preauth] postfix is optional in openssh so not always present. This should account for that.
added apache tests
the log samples come from decoder.xml
fix newline at end of file
fix testcase
This line was suspicious from the beginning but I forgot to correct it. Now it works.
Merge pull request #451 from ChristianBeer/apache-tests

Apache tests added
catching PHP notices in Apache log
The level is 5 because these message reveal deprecated or problematic php code. I don't had any PHP Errors on my Apache 2.4 so I can't include a rule for those.
Merge branch 'master' into apache24-php-notices
add testcase for new rule
add newline to end of file
Merge pull request #450 from ChristianBeer/sshd-fix

fix to sshd rules
Merge pull request #452 from ChristianBeer/apache24-php-notices

catching PHP Notices in Apache 2.4 error log
omit messages like: 2014/10/08 13:02:57 ossec-syscheckd: ERROR: Unable to run diff for /lib/modules/3.12.28+/modules.symbols.bin