Automatically build key portions of AppImageKit

- Build only the portion necessary for creating Ember AppImages
- Use the resulting AppImageKit components to create the Ember AppImage
- This will remove the requirement to install/compile AppImageKit manually
- Minor cleanup/adjustment of existing AppImage code
Fix issue with CEGUI and Lua 5.2 on Fedora 20.

Lua 5.1 is provided as "lua-5.1.pc", and 5.2 as "lua.pc". This makes the
CEGUI pick up Lua 5.2 if this is installed, even though tolua++ is ABI
incompatible. Segfaults await.
We fix this by making sure that CEGUI also looks for "lua-5.1" before
looking for "lua.pc". Once this has been fixed in a future version of
CEGUI we should remove this.
Don't exit if misbehaving libraries are not found

- When creating an AppImage, certain libraries must be removed
- The script will currently exit when it fails to delete such a library
- The script should not exit if such a library was never present
Merge branch 'master' of git://github.com/olekw/hammer
Always run autogen.sh.

This is because the checkout out code can have changed between runs,
requiring that autogen.sh is rerun.
Use dev versions when building dev package.
Remove existing artifact if present.
Also look for lua.h in the "lua-5.1" directory.

This ought to fix issues on Fedora 20.
Force FreeImage when building CEGUI.
Fix ceguideps.

-Remove cmake check, that the script can only be executed on OS X and win32.
-Fix missing ls->decpoint on android.
-Dont generate dftables, because its not required on release pcre tar balls.
 This also makes life easier for cross-complining, because dftables would need
 to be compiled on the host toolchain

NOTE: That it is not parallel build sage. I've got in a situation, where tolua
was linked earlier then lua, so make flags are ignored.
Fix OpenAL.

-This is required, because we don't use ndk-build to build OpenAL.
Fix ogredeps.

The Android NDK ships with zlib, so we don't want to build it.
However when building zzip, it uses the includ dir from the
ogredeps zlib, which is incorrect.
Fix Ogre.

-Ogre doesn't support threading (boost) on Android.
-Remove hardcoded X11 libs from *.pc files
-Don't build AndroidJNI, because we use our own JNI.
-Add CPU features. This is an android import module.
 Import modules can only be used in ndk-build, so I
 have added the source of it to Ogre.
Fix boost.

This is a minimal toolchain config file,
which is setting g++ and ar from CROSS_COMPILER
environment variable.
Fix lua.

Lua source is not shipping with *.pc files, but distros provide it.
Ember requires the pc file, so we need to create it.
Add environment setup script.

-Makes ember cleaner.
-Prevents duplicated code.
-Allows to pop environment and switch
to other environment on the fly.
-Adds support for android x86 too.
-Adds support for debug builds.
Add android install-deps feature.

-It builds every dependency with cross-compiler compatibility.
-It will even install the toolchain for you. :)
-It uses standalone toolchain instead of ndk-build to prevent
duplicating buildscripts.
-It will automatically update autoconf toolchain detection code,
so that android toolchain is not failing with broken toolchain error.
-Some libs are integrated into bionic c runtime, so it provides
placeholders for smooth detection.
-Many bugfixes for the libs with automatic patching.
Refactor hammer to support cross-compilers.

-Added android support.
-Customize build with flags.
-Cleanup the code.
-Use the new setup_env technology.
-It will fail on invlalid targets.
-Updated manual.
-Allow to use stable releases if development build fails.
Update cegui to 0.8.4.

It has some fixes for static libs, so we need less patching.
Add apk bundling directly from hammer.sh.

In the past, you needed to call AppBundler.sh separately.
Now it is called from hammer, which is required to support
all kinds of customization parameters.