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
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
fix up ModifyFeature Control tests
fix tests in Protocol.WFS, test counter was not incremented
Fix OSM parser test, and some confusion on checkTags
Fix the test Canvas.html
fix Object function Array() { [native code] } has no method 'concat' issues in Format.OSM
Revert "don't sort"

This reverts commit 74383f6fd228f798ecd5e2f367c660d474f195db.
fix Geometry/LineString and Geometry/Polygon tests, functions were outputting extra properties
fix up Layer/XYZ test cases
Merge pull request #1193 from bartvde/testfail

Failing tests in master (r=@marcjansen)