STL-like iterator protocol for vector3

Providing `iterator` and `const_iterator` typedefs as well as `begin()`
and `end()` methods allows using vector3 with STL algorithms like
`for_each` or `find_if`.