Merge pull request #7552 from andyque/fixScale9Sprite

fix scale9Sprite addChild zorder issue
software per decompression support
pvr display fix pvr decompression on 64 bit platforms fix
unused variable removed
pvr 2bpp decompression fixed
mipmaps loading fix
template fix
Copyright & small fixes
missing include
Merge pull request #6997 from newnon/v3_software_pvr_decompression

V3 software pvr decompression