Texture to UIImage

Following code I borrowed directly from here:
http://forum.sparrow-framework.org/topic/create-uiimage-from-pixel-data-problems

I was able to get a `UIImage` out of the `texture.pixels`

I've tested this and it works, but my knowledge of the actual code doing the heavy lifting is limited