Added texture packing and retrieval
merged with MasDennis/master and integrated where necessary
added Texture constructor to support TextureAtlas
Merge pull request #782 from Davhed/texture-packing-and-manager-merge

RFC: Texture packing