Allocation caching, plus fix for CachingAllocator

Allocations are now cached globally between frameworks and for all
allocations.
Local work queues are now just pointers
Merge branch 'master' of https://github.com/captaintrash/theron into theron_master