Merge pull request #773 from folecr/cocosdenshion-use-jnihelper

fixed #1061:Cocosdenshion JNI use
Add local.properties to gitignore
Rename modules to prebuilt

    * In preparation for also adding source of modules
Modify module names so that the prebuilt modules match those built from source.
libjpeg prebuilts

    * From libjpeg 8d from IJG
    * Added custom Cocos Android makefiles
    * Built in release mode
libpng prebuilts

    * From libpng version 1.2.46
    * Based on Android's platform_external_libpng
    * Added custom Cocos Android makefiles
    * Built in release mode
libxml2 prebuilts

    * From libxml2 version 2.7.3
    * Based on Android's platform_external_libxml2
    * This older version of libxml2 avoids the need for libicu or libiconv
    * Added custom makefiles
    * Built in release mode
Add submodules for sources of external dependencies
Cocos2dX static and shared library build

    * Add shared library build option to cocos2dx
    * Use libjpeg, libpng and libxml2 as module names to match the folder names for both source and prebuilt modules
    * Selection between prebuilt and source build to be done by selecting correct NDK_MODULE_PATH
CocosDenshion static library

 * Add build target for a static library to the CocosDenshion module
Static build option for the lua library
Box2D static library
chipmunk static library
HelloWorld build
Use static libraries

Native (NDK) build
 * Updated build file with modules
 * Use either prebuilt or source modules for dependencies of Cocos2d-x
 * -s switch to build_native.sh to switch between source and prebuilt modules
 * Use static cocos2d-x
 * Use gnustl_static for C++
 * Does not use CocosDenshion. Remove.
 * Don't force APP_OPTIM to be release. Let this be defined by the build flavor
 * System.loadLibrary() of just the one shared native library now

Java (SDK) build
 * HelloWorld ant build files
 * Remove HelloWorld files generated during build process
HelloLua build

 * Remove debuggable attribute from manifest. Choose release/debug flavor from build command.

Native (NDK) build
 * Use either prebuilt or source modules for dependencies of Cocos2d-x
 * -s switch to build_native.sh to switch between source and prebuilt modules
 * Use static cocos2d-x and lua
 * Use static library externals for dependencies of Cocos2d-x
 * Use gnustl_static as the C++ library

Java (SDK) build
 * HelloLua ant build files
 * Remove HelloLua files generated during build process
Tests build

Native (NDK) build
 * Use externals for dependencies of Cocos2d-x
 * Use static libraries of all dependencies
 * Use gnustl_static for C++ support
 * Use either prebuilt or source modules for dependencies of Cocos2d-x
 * -s switch to build_native.sh to switch between source and prebuilt modules

Java (SDK) build
 * Ant build files.
 * Remove Tests files generated during build process
 * Load one tests library
Added setLineBreakWithoutSpace(bool) to switch between line breaking on whitespace or line breaking on any character
Merge branch 'fonts' of https://github.com/peoronoob/cocos2d-x into iss1068_merge
fixed #1068:don't use fontconfig as default
Merge pull request #777 from minggo/iss1068_merge

Iss1068 merge