Replace Array with std::vector

There were a few files with mixed line-endings, to view the important changes just look at the second commit `25c3aa8`

There may be a few places where using a ranged-for or stuff from <algorithm> would be a lot better but I wanted to get this in early to make merging easier.