Basic test for sceKernelReferThreadStatus().

Needs more investigation.
Add schedf() and checkpoint() to common.

Use them everywhere, so might as well.

Most things should still compile since they use inline, I think.
Make the create test a bit prettier looking.
Add a test for sceKernelStartThread().
Test additional arg length/ptrs in start thread.
Test the stack layout after creation.
Merge pull request #71 from unknownbrackets/thread-funcs

Some tests for basic thread funcs
Fix k0 test from run on an actual PSP.

The results were right, but the layout was wrong, and crashing...
Merge pull request #72 from unknownbrackets/k0

Fix k0 test from run on an actual PSP
Add some tests for sceAudio Reserve funcs.
Merge pull request #73 from unknownbrackets/audio

Add some tests for sceAudio Reserve funcs
Add a size check for sceKernelReferSemaStatus().
Size check for sceKernelReferEventFlagStatus().
Add sceKernelCancelMutex() tests, update mutexes.
Add some tests for options in mutex/lwmutex.

And also update the lwmutex tests a bit.
Move the semaphore tests into a shared directory.
Add tests for semaphore create options.