Added stops for monitoring

Small commit to save interim work, way more to come.
Set warnings as errors on extapi
Add basic clipboard monitor plumbing
Changes and tweaks to make clipboard monitor work
Handle NULL values when clipboard is cleared
Merge branch 'upstream/master' into clipboard_monitor

Conflicts:
	source/ReflectiveDLLInjection
	source/extensions/extapi/extapi.c
	source/extensions/extapi/extapi.h
	workspace/ext_server_extapi/ext_server_extapi.vcxproj
Add purge and dump functionality, remove dup caps

This no longer captures duplicate content if the user does the same
thing twice.
Add documentation to the functionality
INCLUDE the resume event in the monitored array

I am clearly stupid. How did this ever work? This change tells the
wait call to include the signal handle for the resume event.
Fix number of issues revealed in x64 testing

Thanks to sinner being on the ball, x64 was broken and causing some
crazy things to happen. The CPU would peg at 100% despite x86 being
quite happy. It turns out, I suck at C, so I had to fix that up.

This commit includes the following changes:

* Fix up the WNDPROC callback so that the parameters are in the right
  order.
* Specify the correct array size for wait handles in the monitor thread.
* Add extra debugging.
* Handle WM_* messages correctly and add WM_NCCREATE.
* Correctly use the CREATESTRUCT to pass in the state.

"How on earth did this ever work?"

Fixed now, thanks again sinner!
One last tweak to remove all evidence of stupidity
Merge branch 'clipboard_monitor' of github.com:OJ/meterpreter into OJ-clipboard_monitor
Land #74 - clipboard monitor