Use pillow instead of pystacia, drop Python 3.1 support