Added a valid property to texture

Used to check that a texture is good to render
Merge branch 'dev' of https://github.com/GoodBoyDigital/pixi.js into dev