xfreerdp: smart sizing fix

Standard format PictStandardRGB24 is not always available.
Use XRenderFindVisualFormat instead of XRenderFindStandardFormat
Merge pull request #2253 from nfedera/fix-2014-12-04-02

xfreerdp: smart sizing fix
Merge branch 'master' of github.com:FreeRDP/FreeRDP
cmake: fix PulseAudio.cmake version detection
Merge pull request #2255 from awakecoding/master

Memory Leak/Corruption Fixes, PulseAudio Detection Fixes
libfreerdp-core: enable ipv6 listener.
Merge pull request #2256 from llyzs/llyzs

libfreerdp-core: enable ipv6 listener.
cache: fixes for GlyphIndex, FastIndex & FastGlyph

* update_process_glyph_fragments() ignored the text background rectangle

* moved the OpRight value fix-up to update_process_glyph_fragments() since
  it is required for all glyph primary drawing orders
gdi: don't pollute invalid region with empty rects
Merge pull request #2257 from nfedera/fix-2014-12-05-01

cache: fixes for GlyphIndex, FastIndex & FastGlyph
Merge pull request #2258 from nfedera/fix-2014-12-05-02

gdi: don't pollute invalid region with empty rects
fixed shutdown of input thread in xfreerdp
Fixed broken NULL pointer check.
Fixed uninitialized value.
Fixed uninitialized values in case of error return.
Fixed uninitialized value.
Fixed missing NULL pointer check.
Fixed memory leak.
Fixed memory leak.
Fixed missing declarations.