Add UTF-8 encoding header to Python scripts.

Add `-*- coding: utf-8 -*-` headers widely and fix some EOLs at file endings.

Arising from discussion of https://github.com/openmicroscopy/ome-documentation/pull/245