Reimplementation of TextureUnpacker.
Merge pull request #1849 from codepoke/texture-unpacker

Texture Unpacker implementation with support for ninepatch