optimized SPPoolObject, also now thread safe

SP_IMPLEMENT_MEMORY_POOL() is no longer required, instead a static hash
table is used