Texture binding + creation

Closes #49
I don't think we even need to have those miplevel* functions. If the user wants to iterate mip levels, he can compute it himself. This is barely needed.