fixes for Picture::type method
Merge branch 'master' of github.com:aboyon/pictorama