Merge pull request #1015 from patrickmeehan/develop

added sdk packaging util to moaiutil
fixed linker error on Moai.xcodeproj
added 'getAvailableStorage' method to MOAIAppIOS
modifications to MOAIAppIOS: revamped to register for notifications directly (no longer needs calls from app delegate); removed original ad hoc event implemention (now uses MOAIGlobalEventSource); added call to check available storage on device; added listener for iOS low memory warning
MOAI_WITH_LIBWEBP now defaults to 0 (fixes Android build)
modified host function loaders (from file and string) to use global Lua functions instead of the luaL library methods directly (in case they have been replaced by a previously run script)
refactored MOAIInputMgr to prepare for implementation of internal input configurations
SDL multitouch patch from daltomi on http://getmoai.com/forums/host-sdl-minor-changes-t2885/
added MOAIMotionMgrIOS to handle gyro and accelerometer events
Merge pull request #1017 from seclorum/sdl-multitouch

SDL multitouch patch from daltomi
support cursor,fullscree; proposal multitouch
changed MOAIActionMgr to MOAIActionTree and changed MOAIInputMgr to MOAIInputQueue; added both to MOAISim and exposed as globals for back compat
Fixed a problem that compile error occurs in cmake.

Fixed a problem that compile error occurs in cmake.
linux debug mode;fix libssh2_prefix conflict; fix font FNT show msg error; fix build GetZLStream not found; fix run moai without param
Fix stop Sound when finish; delete infinite loop; +ref.
Fix stop Sound when finish; delete infinite loop; +ref.
Merge pull request #1020 from makotok/fix_stream_mod

Fixed a problem that compile error occurs in cmake.
tmpnam is dangerous, better use mkstemp; revert libssh2_prefix
tweaks to action system to prepare for multiple and user managed action trees; reworking and clarification of graphics resource lifecycle; import for graphics resource loading policies
moved MOAIMotionMgrIOS into its own module; fixed glitch in MOAIInputQueue declaration