ge_dome branch for dfelinto's dome support
First commit of the dome code.

Three modes working:
Dome mode - 1 fisheye, 2 truncated, 3 panoramic

A brief explanation of the code pipeline:

BL_KetsjiEmbedStart.cpp or GPG_Application.cpp
  -> KX_KetsjiEngine.cpp::InitDome()
          -> KX_Dome.cpp::Constructor(initiallising class)
          -> KX_Dome.cpp::CreateMesh()
          -> Turn to Hemisphere (normalize the verts coordinates)
          -> KX_Dome.cpp::FlattenDome()

 Every frame:
  -> KX_KetsjiEngine.cpp::RenderDome() [a copy of KX_KetsjiEngine.cpp::Render()]
          -> KX_Dome.cpp::RenderDomeFrame() [a copy of KX_KetsjiEngine.cpp::RenderFrame()]
          -> KX_Dome.cpp::BindImages()
          -> KX_Dome.cpp::DrawDome()
merge from trunk.
I'm not sure I'm doing things rightly here :)
I'm syncing it now to commit more dome code later
Dome and Panorama mode using the whole canvas as buffer size
- added ResBuffer option to reduce the size of the buffer
- changes in FlattenPanorama, I may revert this later
merge with trunk (scons fix and others)
+
Spherical Panoramic (mode 3) working 100% for resolution bigger than 5.
Shadow problems fixed.
More cleanup in the code.
A small fix (specular problem strikes again)
and now WireFrame mode shows the background mesh in wireframe as well. It's useful for calibration I think.
merge from trunk +

- Dome images > 180 optimized to use more of the tesselated mesh
- Bug fixed (scaled texture maps)
- clean up (no more OFFSET and WARPED  mode)
- I guess it's ready for review
final adjusts before first patch for reviewing.
Now the code is the same as the one found in:

[#18462] Fisheye (Dome) and Spherical Panoramic mode in BGE
file: 090329_review.R1.patch
Commit of recent trunk merge.
Warp Mesh supported now.
CopyTexSubImage2D implemented now instead of CopyTexImage2D
merge -r 19528-HEAD (20156)
starting dome test period again :) (i.e. not over committing in the trunk)
Tilt option to tilt the camera (for planetarium domes)