Refactor ElementsIndexer.getNextElement to not use recursion

We are simply iterating over an array.  Recursion is overkill and a waste of memory when we are potentially iterating over thousands of elements.  Perhaps the recursion was left over from a previous algorithm that used binary search to find the element, but at this point it seems like a poor choice.
Tiles are calculated from tileOrigin, not from layer extent
mentioning the asynchronous behaviour when using animated Zooming
Merge pull request #1188 from weskamm/patch-1

mentioning the asynchronous behaviour when using animated Zooming
Stop running zoom animation before doing a new zoom operation
Remove merge-markers from test.
Merge pull request #1192 from marcjansen/remove-parse-error

Remove merge-markers from test.
Merge pull request #1168 from kolosov-sergey/master

Tiles are calculated from tileOrigin, not from layer extent
Merge pull request #1191 from ahocevar/better-zoom

Stop running zoom animation before doing a new zoom operation
Merge pull request #1154 from colllin/patch-1

Refactor ElementsIndexer.getNextElement to not use recursion