Fix an issue with clashes with multiple auto window names and layout prefix

Reported and patched by Erik Ogenvik, thanks!
FIX: Use lazy updates for window containing mouse (thx to Ident for reporting).
MOD: Refactored functions with 99% identical code into common helper.

getChildAtPosition & getTargetChildAtPosition were identical save for the
!isMousePassThroughEnabled() check in the "TargetChild" version. This
refactoring puts the core of that function into a common helper taking a
pointer to a function that will do the final "hit test" part.
FIX: Changed PropertySet templated getter to be usable
Add --without-lua-5.2 option

Ignores installed lua 5.2 if specified and uses Lua 5.1
Restore default lua checking to be compatible
A new test suite for the animation system

The failing parts (due to a bug reported by Jordan Weber, thanks!) are
commented for now.
Creating v0-8 branch.
Update version for v0-8 branch development.
FIX: Prepend 2 (for Mk2) to internal ABI check macro (avoids leading 0s)
Fix up the lua module after some recent API changes.
FIX: Regex validation for Editbox was completely broken (#964)
DOC: Add documentation regarding regexp pattern syntax (#965)
FIX: Set pixel pack/unpack alignment in memory blit funcs (for #789)
MOD: Implement grab/restore texture in terms of existing functions.
MOD: Implement blitFromMemory in terms of loadUncompressedTextureBuffer (WIP stuff)
MOD: Implememnt loadFromMemory using blitFromMemory
MOD: Add support for compressed texture blitting (untested at the moment)
Fixups because Texture::blitFromMemory now takes a const void*

NB: Ogre and Irrlicht renderers do not build currently.
FIX: can't cast const to non-const :)