PEP8
Export XML: emails visible only if user can edit

Also, added email-md5 hash.
Export HTTP API: email protection and md5 hashing
Protection granularity added to email XML export

Closes #64