Error checking in sceKernelAllocPartitionMemory().

Before, it was still returning a uid on fail, oops.
Support the other allocation types.
Fix PMB alignment and cleanup free/get.
Keep track of the PMB name like other objects.
Test update.
Clean up some magic numbers, oops.
Don't leak block on allocation failure.
Merge pull request #814 from unknownbrackets/memory

sceKernelPartitionMemory() alignment/errors (review?)