Screen/GStreamer: Allow passing arbitrary bins as video sources for video capture.

A deviceIndex of -1 in Screen('OpenVideoCapture') now accepts a
gst-launch style pipeline/bin description string as 'moviename'. The
string is parsed and converted into a GstBin and this bin is attached
as video source element for video capture and recording.

-> Should allow to build unusual or exotic capture pipelines or work
around system limitations.
-> Such a videosource will not allow auto-detection of video
resolution, nor will it validate a provided roi. Either secondary
detection will have to work, or usercode has to pass in a valid roi,
otherwise bad things will happen.

-> Screen.mexw64 for 64-Bit Matlab on Windows rebuilt and lightly
tested. Other mex files will have to wait for next beta release.
DaqDeviceIndex/OSX: Make sure selected daq has nroutputs > 0.

Not that it helped. DaqAInScan fails just as miserably on OSX 10.9 as
it did on 10.7 and 10.5. Seems that one 10.8 machine of user masondar
is the only one that actually works with 64-Bit PTB. Oh, and 10.9
scrambles ordering of daq interfaces even worse than 10.7 did. Strong
work Apple!
IOPort/Unix: Fix missing init assignment of lineTerminator to _POSIX_VDISABLE

Had a == instead of =, so the init was a no-op. Found by llvm clang
compiler.
Adapt to OSX 10.9 Mavericks and 10.9-SDK, rebuild all OSX mex files.

Change base SDK from 10.6 to 10.9, as 10.6 and 10.7 SDK's are no longer
available on the 10.9 build system. Change compiler to llvm-gcc from
llgv-gcc-4.2.
Make modifications to fix as many compile time warnings as possible.
Rebuild all Matlab and Octave mex files for 64-Bit OSX.

All mex files except Screen build without warnings. Remaining warnings
at this point:
- GStreamer deprecated function warnings. Those are on all platforms ->
unrelated.
- CGDisplayBitsPerPixel implicit declaration and CGDisplayBeamposition
implicit declaration. These have been removed from 10.9 SDK but code
still magically works.
- ATSUxxx function implicit declaration warnings in SCREENDrawText.
These have been removed from 64-Bit SDK headers but still magically
work.
-> This could only be fixed by rewriting the ATSUI text renderer into a
CoreText text renderer, and changing CGxxx api. Keep it for now as is,
as long as it works.
-> CGDisplayBeamposition() is a candidate for removal. It has limited
use on 10.6 (Only NVidia gpu's supported), even more limited use on
10.7 (slight inaccuracies, PsychtoolboxKernelDriver is always the
better option), almost no use on 10.8 (only works on VGA-CRT monitors)
and is completely dysfunctional on 10.9 - The function only returns the
-1 "feature unsupported" status code and triggers our fallbacks. All in
all the function is almost useless and mostly a maintenance burden at
this point.

-> This set of Octave mex files is compatible with the Octave-3.7.7+
GUI prototype, useful for testing with Octave GUI on OSX.
Screen/OSX: Rewrite screen glue to remove/fix use of deprecated functions.

Rewrite screen glue to use functions which are supported/current as of
OSX 10.9, to replace functions which are deprecated since 10.6.
Add missing function prototype of CGDisplayBeamPosition() - which was
completely removed in the OSX 10.9 SDK - until we decide if we should
already kill it completely, or let it linger around for a while longer.
Current status:
10.6 - Only works on NVidia gpus, 10.7 - Ditto, but slightly
broken/inaccurate - PTB driver is better solution, 10.8 Severely broken
for everything bug VGA-CRT's, 10.9 completely dysfunctional (always
returns zero on NVidia card).
Remove unused PsychGetNumScreenPlanes() function for all os'es as a
cleanup.

-> Screen for 64-Bit Matlab on OSX rebuilt and lightly tested.
Screen/GStreamer: Silence deprecation warnings on at least OSX and Linux.

When building on GLib version 2.32 and later, disable warnings about
deprecated API calls. This to silence g_value_array_get_nth() and
g_value_array_free() deprecation warning on GLib 2.32+. We know that
GValueArrays are deprecated and should be replaced by GArray's, but
some GStreamer-0.10 functions still use them, so we have to use them as
well until we upgrade to GStreamer-1.0 at some point.

Makes compiler output less cluttered. Also remove some deprecation
warning suppress from OSX Window glue when we're at it - it is no
longer needed.
Rebuild Screen mex files for Octave and Matlab on OSX as baseline.