cleanup dispatch_message()
vdagent: add support for client -> guest file transfers

rhbz#956146
Update spice-protocol
dos2unix
Fix wrong DWORD print fmt

format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD
Fix invalid print format for uint64_t values

format '%lu' expects argument of type 'long unsigned int', but argument
9 has type 'uint64_t
Fix task could be used uninitialized
Add suggested parentheses

vdagent/vdagent.cpp: In member function 'void
VDAgent::on_clipboard_grab()':
vdagent/vdagent.cpp:951:52: warning: suggest parentheses around
assignment used as truth value [-Wparentheses]
Replace sscanf_s by sscanf

The _s functions need a recent msvcrt version, not shipped in XP by
default.

Furthermore, it appears that their sscanf_s usage was missing the extra
buffer size argument.
Fix wrong size_t printf format

vdagent/desktop_layout.cpp:121:763: warning: format '%u' expects
argument of type 'unsigned int', but argument 8 has type
'std::vector<DisplayMode*>::size_type {aka long long unsigned int}'
[-Wformat=]
Fix cast BOOL->PVOID warning

vdagent/display_setting.cpp:469:50: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
     if (!SystemParametersInfo(action, 0, (PVOID)param, 0)) {
Remove usage of more _s functions

Even before this change, it should have handled error conditions. We'd
be better off allocating those strings and failing on io op later on.
Update NEWS for 0.7.2 release