qtscript: Add new events eventPlayerLeft(player index) for when a player leaves
the game, and eventDesignCreated(template) for when a player creates a new design
in the design GUI.
qtscript: New function makeTemplate(player, name, body, propulsion, reserved, turrets...)
that creates a template from the given components, if possible given current research.
This can be used for estimating build costs of a droid before making it. Changed addDroid()
- now droidType is ignored, and from 3.2+ should be passed as "" when backwards compatibility
is not important.
Fix Super & Cyborg transports sizes in intel display

fixes ticket:3781
Update the copyright year in the mac strings.
Squelch warnings.

Fixes ticket:3880 and ticket:3882.
Fix compile error, make <GL/glew.h> be included before <GL/gl.h>.

/usr/include/GL/glew.h:84:2: error: #error gl.h included before glew.h
/usr/include/GL/glew.h:87:2: error: #error glext.h included before glew.h

Introduced in 8d5b07485f1b8e4e118b9f6a07bf837e9f85bce4, but was probably just waiting to happen.
qtscript: Rename setScrollParams() -> setScrollLimits() - old name will work for a while.
Add new function getScrollLimits().
qtscript: Add bodySize to droid properties. Add cargoSlots and cargoUsed to transport properties.
Add description to template type. Add cost alias to power property in templates. Fix name in docs
for enumTemplates().
qtscript: Add new function syncRandom() for synchronized randomness.
qtscript: cargoSlots and cargoUsed removed. Added enumCargo(psDroid), returns an
array of droid objects inside given transport. Added to droids: cargoCapacity,
cargoSpace, cargoCount, and cargoSize. Added .weapons array to droids and structure.
New function getWeaponInfo(weapon name), which only has a few select properties for now.

A side-effect from this patch impacting rest of the game is that super-heavy droids
now take up one more space in transports in multiplayer.
qtscript: Add performance monitoring code. See dump log after game to review script speed.
images: Allow finding an image from its name.
Fix missing group end calls in loading structure modifiers. Patch by crabster.
Fix saving of group labels. Fixes crash on campaign load bug reported by crabster.
images: Allow »FrontImages->find("image_question.png")« to replace »FrontImages, IMAGE_QUESTION« in function calls.
Refactor model rendering code. Split out button rendering. Queue up all other model
rendering, and start trying to reduce amount of state changes between each draw.
Component cleanup
Convert skybox rendering code to use VBOs. Simplify UI drawing primitives.
Remove old autogenerated notice, add notice that tools/image is no longer useful.

Icons are now always in separate image files (and joined at run-time), so there is currently no tool which
autogenerates the header. The header should be updated manually, if adding new icons.

Fixes ticket:3886.
Don't let other objects set text color of desync/quit/drop icons' player numbers.

(Same for font size. — Cyp)