Organise Flat/ElementLinearData methods and tests

Move containsElementData to FlatLinearData next to isElementData. Move
tests for both methods to FlatLinearData.test.js.

Change-Id: I07a192f5925da7cc763efe5e41427f1f47d85850
Merge "Organise Flat/ElementLinearData methods and tests"