Texture Unpacker implementation with support for ninepatch

Reimplementation of the Texture Unpacker with support for nine patches.