Clean up  sceKernelWaitThreadEnd() wrappers.
Make sceKernelWaitThreadEnd return the exit status.

Also fix the exit status not being recorded properly.
Properly set thread status on create/term/start.
Implement timeouts for sceKernelWaitThreadEnd().
Correct error codes for sceKernelWaitThreadEnd().
Add warnings to sceKernelCreateThread().

Trying to check when it's being misused.
Avoid calling thread->getName() in release builds.

Profile shows this will save a couple percentage points.
Implement sceKernelReleaseWaitThread().
Add stubs for sceMp3 & sceMpeg
Everyone needs math. Fix for ARM platforms.
Merge pull request #363 from xsacha/master

Fix for ARM (Math) in CMake and Qt
Merge pull request #360 from raven02/master

Implement sceMpegRingbufferQueryPackNum and sceMpegQueryUserdataEsSize
Merge pull request #361 from unknownbrackets/thread-funcs

sceKernelWaitThreadEnd(), ...ReleaseFromWait(), and warnings
Implement sceMpegUnRegistStream & sceMpegAvcDecodeStop
Add a couple unknown syscalls hit in games.

Specifically Velocity and Mad Blocker Alpha.
Keep track of exported symbols and link them later.
Load the exports that tell us module info.

Thanks JPCSP.
Take the module info when starting the main module.

Fixes Ys Seven, Fieldrunners, Shadow of Destiny, maybe others.
Cleanup some todos and logging in exports.
Write an unknown syscall for unresolved imports.