GLES2 experiment
GLSL ES: precision qualifiers are required
GLSLES: only the fragment shader needs precision explicitely set.
Version should be 100 for GLSLES
libc++ fixes: avcodec/avformat workaround

With libc++, string includes stdint.h, which breaks the fragile avformat.h
workaround, which depends on __STDC_CONSTANT_MACROS being defined before
stdint.h is included.

Moving the string inclusion after that eyesore shouldn't break anything.
libc++ fixes: don't rely on tr1

libc++ doesn't ship tr1, but ships unordered_map as it is part of c++11.

Since this is the only tr1 header used in openmw, add a check for c++11
unordered_map and fallback to tr1 unordered_map if it's not found.
AIWander everything works. only two things to do: Implement limiting selection on z axis, and correcting decision algorithm.
AIWander - shortened some if statements and made super minor optimizations to others, now using proper GMST to load proper idlechance instead of hacky set value."
AIWander Completed. Replicates vanilla as best possible, pathfinding needs fixing before this looks correct but once the pathfinding files are edited this will behave pretty much exactly as vanilla. Major credit to Hrnchamd for major research.
Sell owned items in the cell
AI Execution Fix - Preiovusly AiExecute was being called even when in a menu, this was not correct behavior.
AI Execute Fix - May as well not create the object either to save extra time.
Merge remote-tracking branch 'torben/aiwander'
Merge remote-tracking branch 'scrawl/master'
Merge remote-tracking branch 'eroen/libcxx'
AIWander Minor Patch - Forgot an else statement and another check on an empty node vector, previously no nodes in range or only one would cause the AIWander to not do anything, now they will play idles correctly still.
Correction of getting spell range "Target".
Better formula for enchantment cost and code refactorization.
Merge branch 'master' of https://github.com/zinnschlag/openmw into enchanting-mechanics
Enum Type renamed to CastingStyle