winpr-handle: fixed mem leak when closing named pipes
winpr-pipe: fixed memory leak in WaitNamedPipeA
winpr-handle: fixed compiler warning
winpr-file: fixed memory leak in error case
ListDictionary_Remove: return value if removed

Update tests accordingly.
ListDictionary: support for wObject added
ListDictionary: added Remove_Head function

ListDictionary_Remove_Head removed the first object from the dictionary
and returns it's value.
Merge pull request #11 from bmiklautz/fixes_20131015

Fixes for named pipe related memory leaks
Merge pull request #12 from bmiklautz/listdict

Improvements and new function for ListDictionary
Merge branch 'master' of git://github.com/awakecoding/FreeRDP

# By Bernhard Miklautz
# Via Marc-André Moreau (2) and Bernhard Miklautz (1)
* 'master' of git://github.com/awakecoding/FreeRDP:
  ListDictionary: added Remove_Head function
  ListDictionary: support for wObject added
  ListDictionary_Remove: return value if removed
  winpr-file: fixed memory leak in error case
  winpr-handle: fixed compiler warning
  winpr-pipe: fixed memory leak in WaitNamedPipeA
  winpr-handle: fixed mem leak when closing named pipes