Fix stupid iteration bug.

Iteration would terminate at ID size() rather than capacity(),
where size() is the number of allocated entities. Depending on where
deleted entities were, this would likely miss entities at the end of
the allocated vectors.

Fixes #10.