Updated the code to build with the latest SFML changes.

The C++ Texture.bind() and Shader.bind() have been made static
methods, see
https://github.com/LaurentGomila/SFML/commit/91e1743516377e16d675b6486301aeba5b20bef8. The Python API is unchanged.