Cleanup whitespace

Convert tabs to four spaces, no whitespace at ends of lines, proper
indentation
Extract world.js code into descriptive functions

Functionality should remain completely unchanged
Ensure camera doesn't start 'inside' the ground
Implement heightmapped world

In order to prevent the player spawing underneath the ground, we place
them as if they were standing upon the highest possible elevation the
terrain could have. On the included static heightmap, this means they
will be floating a large distance above the ground. As you start
walking, you begin to fall, giving an incredibly weird feeling of
shrinking as everything around you seems to get taller. After reaching
the ground, things feel much more natural.
Controls and gravity fixes