Merge pull request #1 from hrydgard/master

Merge from head
Merge pull request #2 from hrydgard/master

Sync
Don't wipe all streams in sceMpegFlushAllStreams().

Patapon and Patapon 2 didn't like it, sitll works in Crisis Core.
Windows: add support DirectInput gamepads (devices);
Merge pull request #1141 from unknownbrackets/scheduling

Fix priority-based MsgPipes
Merge pull request #1142 from unknownbrackets/mpeg-fix

Don't wipe all streams in sceMpegFlushAllStreams()
Merge pull request #1144 from unknownbrackets/ui-tweaks

Minor tweaks for the new UI on Windows
Merge pull request #1146 from unknownbrackets/kernel-uids

Avoid reusing uids for kernel objects.
Merge pull request #1145 from unknownbrackets/perf

Speed up ISO reading for the gameinfocache
Merge pull request #1143 from CrazyMax/master

Windows: add support DirectInput gamepads (devices)
Typo in restricted ISO reading.
Move the pc-management cmds to GPUCommon.
Refactor some GPU methods to return errors.
Maintain the stack per displaylist, not globally.
Cleanup a few GPU error codes.