First batch of conversions to c++11

First part of the conversations to c++11 'for' loops, i have 2 lines where i am unsure, so please someone have a look at them.
:ok_hand: