Add a double-linked memory pool.

See detail in:
http://www.codeproject.com/Articles/27487/Why-to-use-memory-pool-and-how-to-implement-it