Provide return value.
Don't forward declare "std".

This messes with some compilers and implementations (such as libc++).
Properly clean up.
Emit key changed signal for command line options.

This fixes an issue where the logging level couldn't be set by the
command line.
Added asserts.
Enable verbose logging when running in debug mode.
Adding some informative logging.
Added fake segments for endless worlds.

If there's terrain defined, we'll use "fake" segments to make it appear
endless.
These fake segments are used whenever terrain for which there's no
server side terrain defined is shown.
Allow toggling of "endless" world.
Set default height to -12.

This will make any fake segment be under water, enough to be completely
black (with the default terrain shaders).
Refactor how Segments are handled.

Provision and invalidation of the mercator segment is now handled by
function objects. This allows us to easily handle "fake" segments.
The SegmentReference class has also been removed in favour of shared_ptr
with custom deletor.
Only react to mouse key presses.
Fix incorrect scaling.

Since we first rotate the model by 90 degrees we need to rotate it back
before we perform the scaling. This fixes an issue with some models
being incorrectly shown.
Fix spelling of "palisade".
Fixed float comparison in test.

Testing floats is always tricky.
Send arguments on to the executable.

Since the scripts executes commands the arguments were cleared. That's
fixed by stashing them into "orig_args" first.
Secondly the usage of quotes for the $orig_args made them not appear to
the executable. The quotes were removed. It's not clear what the reason
for adding them in the first place was.
Fix missing submodel reference.
Added missing reference to bloomery.
Pad with one page in each dimension.

This is to make the border of the terrain look better with the endless
terrain. Note that this feature should be removed once we've completed
the switch to the terrain component as the endless terrain is handled
automatically once that's implemented.
Clear help text if no proto found.