Gloo: several fixes

Program init is aimed more at singleton shaders rather than a list.
Also more checking of the shaders.

Replaced "type(x) is SomeClass" with isinstance calls.

Doc for Texture format.
make flake message py2k compat
Gloo: Shader and Program do compiling/linking in _update

instead of in _create.