Merge pull request #99 from thedax/master

Update basictypes.h for Visual Studio 2012 support.
When possible always use a runtime check for endian.
iOS buildfix.
Merge pull request #100 from unknownbrackets/endian

Correct endian detection for UTF-16 and iOS buildfix
Print slightly more debug info on link fail.
Add some disabled code to use EGL_NV_system_time for timing.

This gives NV PerfHud ES some interesting capabilities (can pause, speedup, slow down from the debugger UI).
Fix and override/overload warning.
Fix a signed/unsigned warning.
Only try to use NV_system_time on Android.
Merge pull request #101 from unknownbrackets/warnings

Fix a couple warnings.
More GLES extension loading
Just a sanity check
Buildfix for Symbian.
Meego buildfix.
Move a couple of math functions heret:
Visual Studio 2012 build fix.