refactor(core): change [Angular.forEach] use for loop instead of ES5

Change Angular.forEach implementation to use for-loop to gain performance boost which can be seen from http://jsperf.com/foreach-vs-loop/20

Closes #3221