Add license headers to all .py files.

/cc @olasd