Fix broken terrain editing.

Make GeometryUpdateTask call bridge.terrainPageReady() in the main
thread. Also remove this call from TerrainPageCreationTask since it uses
GeometryUpdateTask.

Also copy the right amount of bytes on update in OgreTerrainPageBridge.
Notify if enqueuing fails.
Make sure terrainReady always is called somehow.

Else we'll end up with a locked thread.
Remove unused field.
Assign serial ids to thread, for easier reading.
Don't load if no definition.
A null material is valid.
Don't start paging until avatar entered world.

Before the avatar has entered the world the camera is placed at origo.
However, once it's entered into the world the correct position is used.
The problem with starting the terrain paging too early is that the
background queue will then be filled up with requests for creating pages
that aren't near the avatar (since the avatar might not be near origo),
causing delays since these must be processed before the pages that
actually are near the avatar are handled.