D3D11: Use appropriate shader for PEEK_Z.

Trying to use GetDepthMatrixProgram outside of
TCacheEntry::FromRenderTarget is a bad idea, so don't.  Instead, use a
shader which only copies the input.

Fixes lens flare depth test in Twilight Princess. See
http://code.google.com/p/dolphin-emu/issues/detail?id=5999 .
Add dsp rom hashes to movie header.

Also fix a random typo.
DSound: use DSound notifications to produce sound.

Pretty straightforward; IDirectSoundNotify lets you register for
notifications after a certain amount of sound has played, so use that
instead of depending on Update() notifications from the CPU thread.

Also, while I'm here, reduce the buffer size by a factor of 4; this seems
to reduce the latency, although the difference is sort of subtle.
Truncate the path on logging

Cmake compiles we an absolute path, so the macro __FILE__ also has the absolute file in it.
It seems that gcc doesn't provide macros for the basename, so we have to truncate them in c directly:
https://stackoverflow.com/questions/8487986/file-macro-shows-full-path
WriteToConstRamAddress: support swap on 32 bit too
Merge pull request #285 from delroth/movbe

WriteToConstRamAddress: support swap on 32 bit too
BPMemory: Use BitField for the GenMode fields.
BPMemory: Fix GenMode using an incorrect number of bits for the number of color chans.
Merge pull request #294 from neobrain/master

BPMemory: Cleanup GenMode and fix incorrect bitfield size.
Android: Allow finger movement while pressing button
Release button after touch leaves boundaries

Now, your finger can still move around, but as soon as it leaves the button boundaries the button is released.
PatchEngine: Remove no-op function LoadDiscList.

(The function just pushes elements onto an std::vector which is unused
otherwise.)
Merge pull request #297 from magumagu/remove-loaddisclist

PatchEngine: Remove no-op function LoadDiscList.
Fix texture conversion shaders for GLSL ES.
Noticed this while messing with EFB to RAM.
We were having an implicit conversion from integer to float, GLSL ES doesn't allow implicit conversion.
Changes it to a explicit conversion to float.
Clarify code with comments
Add braces
Merge pull request #295 from SeannyM/button-holding

Android: Allow finger movement while pressing button
Moves a few Cmake options so that debug options are near one another.
Moves GDBSTUB to the top as well where it should be.
Adds Link Time Optimization cmake option.

Adds a LTO option that isn't enabled by default.
Allows building release binaries with link time optimizations without generating a -dirty build.
Not enabled by default due to concerns of memory usage and increased build time.
Merge pull request #299 from Sonicadvance1/EFBRam-FixGLSLES

Fix texture conversion shaders for GLSL ES.