Replace deprecated md5 module with hashlib.md5
Store the MD5 sum in hexadecimal
Use 'outdir' instead of 'indir' for generated images which are encoded into data-uri
Declare {outdir} being the same as datadir for the tests
Verify that nothing is written outside tests/data
Merge branch 'save-snapshot' into master
Add expected output to the tests/data directory
Clean-up style and apply PEP-8 recommendations
Use cStringIO.StringIO for all file-like objects
Add the context manager protocol to the Writer object
Merge pull request #6 from matrixise/clean-code

Clean code
Merge remote-tracking branch 'origin' into use_setuptools