Merge pull request #936 from moai/master

Synchronization of the branch.
Fix luagc_count in getMemoryUsage in moaiSim

see: http://pgl.yoyo.org/luai/i/lua_gc the value was just getting the bytes not the kilobytes.
Merge branch 'master' into 1.5-development
fix moaiimage crash when loading palletized png
Merge pull request #953 from moaiforge/pull_moaiimage_png_fix

fix moaiimage crash when loading palletized png
Merge branch '1.5-development' of github.com:Zoomulator/moai-dev
Merge branch '1.5-development' of github.com:moai/moai-dev