Clean up demo_mandelbrot.py

Restore Python 3 compatibility; Apply PEP8 and PyFlakes; Remove unused imports.
Merge pull request #20 from cgohlke/patch-2

Clean up demo_mandelbrot.py