Add capacity() to VecMap

Changed capacity() tag to unstable and fixed doc assert