add memory pool support for vector

Link: https://github.com/GeneAssembly/biosal/issues/377
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>