add basic PGF font code.
PGF font works!
Please put font file from flash0:/font/ to Flash/font/
sceFont:
    remove load_all_glyph(). Load glyph runtime.
    add sceFontFindOptimumFont.
sceIo:
    PGD handle bug fix.
Merge branch 'master' of https://github.com/hrydgard/ppsspp.git

Conflicts:
	Core/Core.vcxproj.filters
	Core/HLE/sceFont.cpp
	Core/HLE/sceGe.cpp
	Core/HLE/sceIo.cpp
	Core/HLE/sceKernelMutex.cpp
remove defines
change return method
Improve Analyze()/ GetNextSample() / GetSoundSample() / SetLoopNum() in sceAtrac
Fix Qt build (new thread source).
Update native
Add some missing stubs to threadman.
Give ThreadManForUser_8DAFF657 and friends a name.

Calling allocate on the same thread gives the same ptr, but on a different
one it waits or returns a new ptr.

Let's call it thread local storage for now.
Savestate the sdkver and compiler version.

Oops, should've caught this before.
Basically working implementation of TLS funcs.

But doesn't wait at all, which it should.
Get a chance to toggle linear filtering
Pack the recent close to keep 12 recent items for both small/big screen
Use 12 recent items for both Andriod/iOS & Windows plaform
Make event flags wait / do callbacks correctly.
sceKernelWaitEventFlagCB() calls callbacks first.
Reschedule the timeout event on callback end.

Darn, missed that 3 times before I caught it.
Make sceKernelNotifyCallback() error if invalid cb.

Which makes Numblast clearly happy.