Feature complete, but needs to be quality tested before release.

Also, stuck a temporary function `writeEntities` in `GlobalUtilities.py`
because the deferred API in the interactive console (to do a one-time
conversion of contact email properties to list) won't pickle the
function.