Add const qualifiers to two foreach loop variables for consistency.

Also fix a vector include I happened to notice. Should be "<vector>" not "vector"