Fixes for Qt, Symbian and Blackberry. Reorder and remove some redundant ArmEmitter includes so that _SP doesn't conflict.
Let's actually call Init/Shutdown in CoreTiming.
Allow downcount to be negative.

This fixes threads/alarm/alarm and ctrl/sampling2/sampling2, which were
broken in 674911dd.

The downcount can go negative for a few reasons, and was signed before.
Merge pull request #431 from unknownbrackets/timing-fix

Timing fix
Add/update stubs in sceIo
Merge pull request #432 from raven02/master

Add couple of sceIoIoctl commands and misc stubs 
Merge pull request #433 from xsacha/master

Fixes for Qt, Symbian and Blackberry.
Update dialog display and return code depending of request version.
Merge pull request #434 from Xele02/master

PSPMsgDialog return value
Revert part of 289b0eb which broke some games.

Although defAction isn't a good solution, removing it outright seems
to break things.
Merge pull request #436 from unknownbrackets/io-fix

Restore previous functionality of sceIoCloseAsync()
Cleanup sceKernelCreateVpl() and add warns/errors.
Always use -1 for failed allocs in block allocator.

Before it used 0 and -1, confusing.
Make sure BlockAllocator doesn't get off grain.

This should fix spurious warnings about AllocAt() when loading a game.
Implement basic waiting for VPL allocation.

Always times out so far, though.
Clean up sceKernelFreeVpl(), not waking yet.
Properly wake semaphores in priority order.
Actually wake up threads on vpl free.
Oops, 0 is a valid timer id.
Cleanup the other vpl functions.