Add clear method to TileLoadQueue.

From the terrain branch.

Also add tests for TileLoadQueue.