TextureAtlas.fromTexture extension

added extension logic support to TextureAtlas.fromTexture.
Improved textureManager sample
updated clipArea and flatten samples
added pixelPreciseHitTest